<i18n dev> RFR: 8041488: Locale-Dependent List Patterns [v13]
Naoto Sato
naoto at openjdk.org
Tue Sep 5 22:19:39 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 incrementally with three additional commits since the last revision:
- 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>
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/15130/files
- new: https://git.openjdk.org/jdk/pull/15130/files/a228a3e3..4022c9db
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=15130&range=12
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=15130&range=11-12
Stats: 5 lines in 2 files changed: 0 ins; 1 del; 4 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