LocalDateTime 使用记录

1.LocalDateTime 获取指定日期的月初和月末 LocalDateTime firstDayTime = LocalDate.now().withMonth(12).withDayOfMonth(1).atStartOfDay(); System.out.println("firstDay
posted @ 2020-07-23 13:41  演说家  阅读(210)  评论(0编辑  收藏  举报