比如在15:30:30之前:
LocalTime.now().isBefore(LocalTime.of(15, 30,30))
或15:30:30之后
LocalTime.now().isAfter(LocalTime.of(15, 30,30))
相等
LocalTime.now().equal(LocalTime.of(15, 30,30))
比如在15:30:30之前:
LocalTime.now().isBefore(LocalTime.of(15, 30,30))
或15:30:30之后
LocalTime.now().isAfter(LocalTime.of(15, 30,30))
相等
LocalTime.now().equal(LocalTime.of(15, 30,30))