获取指定日期所在周的周一
//将某天转换为 LocalDate val newLocalDate = LocalDate.of(2019, 3, 13)
//输出 2019-03-11 val mondayDate = newLocalDate.`with`(DayOfWeek.MONDAY)
20个 Java8的例子
//将某天转换为 LocalDate val newLocalDate = LocalDate.of(2019, 3, 13)
//输出 2019-03-11 val mondayDate = newLocalDate.`with`(DayOfWeek.MONDAY)
20个 Java8的例子