计算日期之间的时间差

long daysDiff = ChronoUnit.DAYS.between(startDate, endDate);

 

posted @ 2018-10-09 20:53  zslm___  阅读(291)  评论(0)    收藏  举报