public class AgeUtils extends Object
Constructor and Description |
---|
AgeUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
getAgeFromBirthDate(String birthDate)
根据年月日计算年龄
|
static String |
getBirthDateFromAge(int age)
根据年龄获得生日(默认月份日期-01-01)
|
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.