RFR: 8041488: Locale-Dependent List Patterns [v9]
Naoto Sato
naoto at openjdk.org
Mon Aug 28 20:02:38 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 four 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/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>
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/15130/files
- new: https://git.openjdk.org/jdk/pull/15130/files/5b536fab..f651ff7e
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=15130&range=08
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=15130&range=07-08
Stats: 6 lines in 1 file changed: 0 ins; 0 del; 6 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 core-libs-dev
mailing list