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-22723 CLDR 46 46 beta3 to main #3219

Merged

Conversation

DraganBesevic
Copy link
Contributor

@DraganBesevic DraganBesevic commented Sep 28, 2024

Checklist

  • Required: Issue filed: https://unicode-org.atlassian.net/browse/ICU-22723
  • Required: The PR title must be prefixed with a JIRA Issue number. Example: "ICU-1234 Fix xyz"
  • Required: The PR description must include the link to the Jira Issue, for example by completing the URL in the first checklist item
  • Required: Each commit message must be prefixed with a JIRA Issue number. Example: "ICU-1234 Fix xyz"
  • Issue accepted (done by Technical Committee after discussion)
  • Tests included, if applicable
  • API docs and/or User Guide docs changed or added, if applicable

Beta 3 integration for CLDR 46.

Includes updates for tzdata to 2024b and adding new measurement units (duration-night and light-speed).

Known issues:

  1. 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

  2. "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

Copy link
Contributor

@mihnita mihnita left a 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

@DraganBesevic
Copy link
Contributor Author

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

@DraganBesevic DraganBesevic merged commit de86b32 into unicode-org:main Sep 28, 2024
101 checks passed
Copy link
Member

@markusicu markusicu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!!

Comment on lines +4149 to +4151
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.");
Copy link
Member

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();
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants