leftso 1023 0 2018-12-12 02:51:38

文章位置:左搜> 编程技术> 正文

 
Calendar calendar=Calendar.getInstance();
calendar.set(Calendar.MONTH,11);
calendar.set(Calendar.DATE,calendar.getActualMaximum(Calendar.DAY_OF_MONTH));//获取月份的最后一天
calendar.set(Calendar.HOUR,23);
calendar.set(Calendar.MINUTE,59);
calendar.set(Calendar.SECOND,59);



 
编程技术 Calendar

评论区域

暂无评论,快来抢首发吧!!!