-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Update Value of TwoDigitYearMax to 2049 #76848
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 16 commits
d132f77
578ee02
43ebf1a
4873c8b
a43ef8b
e5a0630
46950ac
635d695
ab97ec0
527dca2
ee3b20b
91cd057
a243ade
7cfd57a
ffc8020
a4b25f9
c0f7752
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -646,15 +646,15 @@ public override bool IsLeapYear(int year, int era) | |
| return InternalIsLeapYear(year); | ||
| } | ||
|
|
||
| private const int DefaultGregorianTwoDigitYearMax = 2029; | ||
| private const int DefaultGregorianTwoDigitYearMax = 2049; | ||
|
|
||
| public override int TwoDigitYearMax | ||
| { | ||
| get | ||
| { | ||
| if (_twoDigitYearMax == -1) | ||
| { | ||
| _twoDigitYearMax = GetSystemTwoDigitYearSetting(BaseCalendarID, GetYear(new DateTime(DefaultGregorianTwoDigitYearMax, 1, 1))); | ||
| _twoDigitYearMax = GetSystemTwoDigitYearSetting(ID, DefaultGregorianTwoDigitYearMax); | ||
|
||
| } | ||
|
|
||
| return _twoDigitYearMax; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.