Skip to content
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

ICU-12973 CLDR Japanese Era data and tentative Japanese new era support #111

Merged
merged 8 commits into from Sep 12, 2018
13 changes: 13 additions & 0 deletions icu4c/source/i18n/unicode/calendar.h
Expand Up @@ -167,6 +167,19 @@ class BasicTimeZone;
* to ~5,800,000 CE. Programmers should use the protected constants in `Calendar` to
* specify an extremely early or extremely late date.
*
* <p>
* The Japanese calendar uses a combination of era name and year number.
* When an empror of Japan abdicates and a new emperor ascends the throne,
jefgen marked this conversation as resolved.
Show resolved Hide resolved
* a new era is declared and year number is reset to 1. Even if the date of
* abdication is scheduled ahead of time, the new era name might not be
* announced until just before the date. In such case, ICU4C may include
* a start date of future era without actual era name, but not enabled
* by default. ICU4C users who want to test the behavior of the future era
* can enable the tentative era by:
* <ul>
* <li>Environment variable <code>ICU_ENABLE_TENTATIVE_ERA=true</code>.</li>
* </ul>
*
* @stable ICU 2.0
*/
class U_I18N_API Calendar : public UObject {
Expand Down
2 changes: 1 addition & 1 deletion icu4c/source/i18n/unicode/ucal.h
Expand Up @@ -142,7 +142,7 @@
* <p>
* The Japanese calendar uses a combination of era name and year number.
* When an empror of Japan abdicates and a new emperor ascends the throne,
* a new era is declared and year number is reset to 1. Even the date of
* a new era is declared and year number is reset to 1. Even if the date of
* abdication is scheduled ahead of time, the new era name might not be
* announced until just before the date. In such case, ICU4C may include
* a start date of future era without actual era name, but not enabled
Expand Down