-
-
Notifications
You must be signed in to change notification settings - Fork 736
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-22723 CLDR 46 46 beta3 to main #3219
ICU-22723 CLDR 46 46 beta3 to main #3219
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Thank you very much.
Most of it looks familiar from my struggles yesterday (all the resources).
So it wasn't that hard to check.
Mihai
Thank YOU Mihai. Without you pulling all the changes for per billion, I wouldn't be able to wrap this up |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!!
System.out.println(" * Note: In ICU 74 this will be deprecated in favor of"); | ||
System.out.println(" * createTonne(), which is currently draft but will"); | ||
System.out.println(" * become stable in ICU 74, and which uses the preferred naming."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DraganBesevic in a follow-up PR please fix these docs (here and the next function), as discussed.
// In order to preserve the existing APIs for "metric-ton" we need to | ||
// add those APIs manually | ||
if (name.equals("Tonne")) { | ||
addCXXHForMetricTon(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is there nothing like this for Java?
Checklist
Beta 3 integration for CLDR 46.
Includes updates for tzdata to 2024b and adding new measurement units (duration-night and light-speed).
Known issues:
There is still a problem with per billion unit (a.k.a 1e9). All references are temporarily removed until ICU supports handling this unit: https://unicode-org.atlassian.net/browse/ICU-22781
"metric-ton" was renamed to "tonne", while keeping its internal value within the code the same (METRIC_TON). That confused the tool which automatically creates APIs for units. The tool doesn't create createMetricTon()/getMetricTon() any more. Now it creates createTonne()/getTonne(). I hacked the tool to manually create those existing APIs, there is possible improvement there for the future
ALLOW_MANY_COMMITS=true