Commit 9788cc0
committed
Reuse floor division quotient in Calendar.ISO month shift
Compute the shifted month directly from the floor-divided year,
avoiding rem/2 and branching for negative remainders.
Assisted-by: Antigravity:Gemini-3.8-Flash1 parent 36351ae commit 9788cc0
1 file changed
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1904 | 1904 | | |
1905 | 1905 | | |
1906 | 1906 | | |
1907 | | - | |
1908 | | - | |
1909 | | - | |
1910 | | - | |
1911 | | - | |
1912 | | - | |
1913 | | - | |
| 1907 | + | |
1914 | 1908 | | |
1915 | 1909 | | |
1916 | 1910 | | |
| |||
0 commit comments