当天最大时间:
LocalDateTime max = LocalDateTime.of(LocalDate.from(LocalDateTime.now()),LocalDateTime.MAX.toLocalTime());
当天最小时间:
LocalDateTime min = LocalDateTime.of(LocalDate.from(LocalDateTime.now()),LocalDateTime.MIN.toLocalTime());
当前时间是否超过某时间:
boolean after = LocalDateTime.now().isAfter(localDateTime);
标签:toLocalTime,最小,获取,当天,时间,LocalDateTime,now,LocalDate From: https://www.cnblogs.com/ZDY-XJ/p/17593300.html