Date date = new Date();
Integer age = date.getYear()-birthday.getYear();
根据生日来获得年龄age
最新推荐文章于 2021-02-13 08:02:35 发布
Date date = new Date();
Integer age = date.getYear()-birthday.getYear();