2015-10-05 101 views

回答

10

使用org.threeten.bp.temporal.ChronoUnit.between

long days = ChronoUnit.DAYS.between(fromDate, toDate);