We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 02fdc54 + c8a6761 commit 0af6c51Copy full SHA for 0af6c51
docs/java/new-features/java8-common-new-features.md
@@ -934,7 +934,7 @@ public void getDayNew() {
934
//当年最后一天
935
LocalDate lastday = today.with(TemporalAdjusters.lastDayOfYear());
936
//2021年最后一个周日,如果用Calendar是不得烦死。
937
- LocalDate lastMondayOf2021 = LocalDate.parse("2021-12- 31").with(TemporalAdjusters.lastInMonth(DayOfWeek.SUNDAY));
+ LocalDate lastMondayOf2021 = LocalDate.parse("2021-12-31").with(TemporalAdjusters.lastInMonth(DayOfWeek.SUNDAY));
938
}
939
```
940
0 commit comments