Skip to content

Commit fd1ca6e

Browse files
author
Jegors Cemisovs
committed
Update section headings in temporal adjusters guide.
Standardize heading levels for consistency and readability. Changed `###` to `##` in multiple sections to align with the document's structure. No content modifications were made.
1 parent 0bff3ea commit fd1ca6e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

concepts/temporal-adjusters/introduction.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ LocalDate lastDay = date.with(TemporalAdjusters.lastDayOfMonth());
2323

2424
Here are some key adjusters useful for scheduling calculations:
2525

26-
### Finding Ordinal Day of Week
26+
## Finding Ordinal Day of Week
2727

2828
Use `dayOfWeekInMonth(int ordinal, DayOfWeek dayOfWeek)` to find the nth occurrence of a day of the week.
2929

@@ -33,7 +33,7 @@ LocalDate secondTuesday = date.with(TemporalAdjusters.dayOfWeekInMonth(2, DayOfW
3333
// => 2024-08-13
3434
```
3535

36-
### Finding First/Last Day of Week in Month
36+
## Finding First/Last Day of Week in Month
3737

3838
Use `firstInMonth(DayOfWeek dayOfWeek)` or `lastInMonth(DayOfWeek dayOfWeek)`.
3939

@@ -43,7 +43,7 @@ LocalDate lastMonday = date.with(TemporalAdjusters.lastInMonth(DayOfWeek.MONDAY)
4343
// => 2024-08-26
4444
```
4545

46-
### Finding Relative Occurrences ("Teenth" dates)
46+
## Finding Relative Occurrences ("Teenth" dates)
4747

4848
Use `nextOrSame(DayOfWeek dayOfWeek)`. This is useful for finding dates like the "teenth" days (13th-19th). Apply it to the 13th day of the month to find the target day of the week within that "teenth" range.
4949

0 commit comments

Comments
 (0)