java返回LocalDate差值
public static long getLocalDateInterval(LocalDate currentDate, LocalDate goalDate) {
return currentDate.toEpochDay() - goalDate.toEpochDay();
}
java返回LocalDate差值
public static long getLocalDateInterval(LocalDate currentDate, LocalDate goalDate) {
return currentDate.toEpochDay() - goalDate.toEpochDay();
}