java获取两个日期间相差的天数
解决方法:
import java.time.temporal.ChronoUnit;
import java.time.LocalDate;
public static Long getDays(LocalDate startTime,LocalDate endTime){
Long days= ChronoUnit.DAYS.between(startTime,endTime);
return days;
}
向大家推荐《Activiti工作流实战教程》:https://xiaozhuanlan.com/activiti