- Changed the C++ and Java interfaces to that the URBNF_DURATION ruleset is marked deprecated.
- Fixed a bug in RuleBasedNumberFormat in both Java and C++ that caused the existing duration-formatting rules to produce bogus results when used on a non-integral value.
(Earlier versions of this PR added code to use a MeasureFormat under the covers when a caller used
unum_open(UNUM_DURATION). I took that out because of backward compatibility concerns, so we're still using RBNF
in the C API. I'm hoping to add a "real" duration formatter in ICU 75.)
Add two methods related to ULocale to ULocaleBuilder API
void ulocbld_adoptULocale(ULocaleBuilder* builder, ULocale* locale);
ULocale* ulocbld_buildULocale(ULocaleBuilder* builder, UErrorCode* err);
ICU TC approved this in 2023-08-31
Test only first 4K bytes of data, which means compare two
UnicodeString each with 1024 Unicodes at most.
Avoid finding timeout issue due to large amount of data.
- Bring in the latest version of the CLDR PersonNameFormatter test data.
- Fix PersonNameConsistencyTest to recognize the new “givenFirst” and “surnameFirst” keywords used in the test data files.
- Fix tokenization code in InitialModifier to use a BreakIterator. Add unit test.
- Add support for the “retain” modifier. Add unit test.
- Remove the “log known failure” logic for all of the PersonNameConsistencyTest data files that pass now.
Rename ExhaustivePersonNameFormatterTest to PersonNameConsistencyTest
Always run. Paramaterize the test so each test file are run in their
own test case and report the failure/success separately
- Symlinks to LICENSE, so that it is included in the .jar files
- Fixed version in the jar manifests (s/73/74/)
- Added Main-Class, Export-Package, some *-Title and *-Description
At this point the .jar files (including manifests) produced by ant / maven
are byte to byte identical, except for some small differences that are
expected and can be explained (will cover them in the email to the team)
The count() is incorrect if the Locale contains extension which is not -u-
for example -x-, -t-.
Currently, this PR only contains tests to show the problem.
ICU-22457 Fix the enum_count
- LICENSE is now the v3 license with the correct year and title
- README.md now has the required features and drops Terms of Use
- CONTRIBUTING.md now matches the updated language