-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Description
Description
The start date of the Japanese Meiji era has been updated from 1868-09-08 to 1868-10-23 to reflect the latest Unicode CLDR (Common Locale Data Repository) data and improved historical accuracy. This date also serves as the minimum supported date in the Japanese calendar.
Version
.NET 11 Preview 1
Previous behavior
JapaneseCalendar.MinSupportedDateTime previously returned 1868-09-08. Dates between 1868-09-08 and 1868-10-23 were also considered valid and supported by JapaneseCalendar.
New behavior
JapaneseCalendar.MinSupportedDateTime returns 1868-10-23 instead. Dates between 1868-09-08 and 1868-10-23 now considered invalid and unsupported by JapaneseCalendar.
Type of breaking change
- Binary incompatible: Existing binaries might encounter a breaking change in behavior, such as failure to load or execute, and if so, require recompilation.
- Source incompatible: When recompiled using the new SDK or component or to target the new runtime, existing source code might require source changes to compile successfully.
- Behavioral change: Existing binaries might behave differently at run time.
Reason for change
To reflect the latest Unicode CLDR (Common Locale Data Repository) https://unicode-org.atlassian.net/browse/CLDR-11375 data and improved historical accuracy.
Recommended action
Update any code depending on the JapaneseCalendar.MinSupportedDateTime old value and avoid using Gregorian dates before 1868-10-23 with the JapaneseCalendar.
Feature area
Globalization
Affected APIs
JapaneseCalendar
JapaneseCalendar.MinSupportedDateTime
Metadata
Metadata
Labels
Type
Projects
Status