public long get() {
Date currentDate = new Date();
// 明天00:00
LocalDateTime midnight = LocalDateTime.ofInstant(currentDate.toInstant(),
ZoneId.systemDefault()).plusDays(1).withHour(0).withMinute(0)
.withSecond(0).withNano(0);
// 当前时间
LocalDateTime currentDateTime = LocalDateTime.ofInstant(currentDate.toInstant(),
ZoneId.systemDefault());
long result = ChronoUnit.SECONDS.between(currentDateTime, midnight);
return result;
}



