LocalDateTime获取上一个时间点和下一个时间点 //获取下一个时间点,如现在为15:30,上一个整点时间点为,16:00 LocalDateTime.now().withMinute(0).withSecond(0).withNano(0).