<i18n dev> RFR: 8041488: Locale-Dependent List Patterns [v15]
Naoto Sato
naoto at openjdk.org
Thu Sep 7 18:20:28 UTC 2023
> Introducing a new formatting class for locale-dependent list patterns. The class is to provide the functionality from the Unicode Consortium's LDML specification for [list patterns](https://www.unicode.org/reports/tr35/tr35-general.html#ListPatterns). For example, given a list of String as "Monday", "Wednesday", "Friday", its `format` method would produce "Monday, Wednesday, and Friday" in US English. A CSR has also been drafted, and its draft javadoc can be viewed here: https://cr.openjdk.org/~naoto/JDK-8041488-ListPatterns-PR/api.00/java.base/java/text/ListFormat.html
Naoto Sato has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 24 additional commits since the last revision:
- Reflects review comments
- Merge branch 'master' into JDK-8041488-ListPatterns-PR
- Incorporating suggested changes
- Update src/java.base/share/classes/java/text/ListFormat.java
Co-authored-by: Roger Riggs <Roger.Riggs at Oracle.com>
- Update src/java.base/share/classes/java/text/ListFormat.java
Co-authored-by: Roger Riggs <Roger.Riggs at Oracle.com>
- Update src/java.base/share/classes/sun/util/locale/provider/LocaleResources.java
Co-authored-by: Roger Riggs <Roger.Riggs at Oracle.com>
- Removing unnecessary commas
- Added tests
- Review comments
- Merge branch 'master' into JDK-8041488-ListPatterns-PR
- ... and 14 more: https://git.openjdk.org/jdk/compare/85b25b37...bce82a4f
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/15130/files
- new: https://git.openjdk.org/jdk/pull/15130/files/316ed12d..bce82a4f
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=15130&range=14
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=15130&range=13-14
Stats: 18706 lines in 454 files changed: 13614 ins; 2714 del; 2378 mod
Patch: https://git.openjdk.org/jdk/pull/15130.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/15130/head:pull/15130
PR: https://git.openjdk.org/jdk/pull/15130
More information about the i18n-dev
mailing list