CLDR-ICU unit conversion fixups: Ensure MeasureUnit API regeneration code handles deprecated, etc.
General
Other Data
General
Other Data
Description
Cleanups for CLDR-to-ICU conversion for measure units:
Add conversion of unitIdComponents (currently missing)
Ensure MeasureUnit APIs use non-deprecated CLDR tags
Ensure that the code in MeasureUnitTest.java code that regenerates the MeasureUnit APIs (measunit.h, MeasureUnit.java) handles special cases such as ICU interfaces(both @stable and @deprecated) for units deprecated in CLDR (such as metric-ton), temperature-generic, etc.) This will require hardcoding certain interfaces directly in that regeneration code.
Cleanups for CLDR-to-ICU conversion for measure units:
Add conversion of unitIdComponents (currently missing)
Ensure MeasureUnit APIs use non-deprecated CLDR tags
Ensure that the code in
MeasureUnitTest.java
code that regenerates the MeasureUnit APIs (measunit.h
,MeasureUnit.java
) handles special cases such as ICU interfaces(both@stable
and@deprecated
) for units deprecated in CLDR (such as metric-ton), temperature-generic, etc.) This will require hardcoding certain interfaces directly in that regeneration code.