Date openStartTime = appoint.getOpenStartTime();
int year = openStartTime.getYear()+1900;
int month = openStartTime.getMonth()+1;
int day = openStartTime.getDate();
分别得到Date类型的年、月、日
最新推荐文章于 2024-08-20 04:37:54 发布
Date openStartTime = appoint.getOpenStartTime();
int year = openStartTime.getYear()+1900;
int month = openStartTime.getMonth()+1;
int day = openStartTime.getDate();