<i18n dev> RFR: 8041488: Locale-Dependent List Patterns [v11]

Naoto Sato naoto at openjdk.org
Mon Aug 28 23:34:49 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 17 additional commits since the last revision:

 - Added tests
 - Review comments
 - Merge branch 'master' into JDK-8041488-ListPatterns-PR
 - Removed unnecessary spaces
 - 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>
 - Update src/java.base/share/classes/java/text/ListFormat.java
   
   Co-authored-by: Roger Riggs <Roger.Riggs at Oracle.com>
 - Reflecting review comments
 - ... and 7 more: https://git.openjdk.org/jdk/compare/9c462970...36974db7

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/15130/files
  - new: https://git.openjdk.org/jdk/pull/15130/files/7d7aaf48..36974db7

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=15130&range=10
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15130&range=09-10

  Stats: 22411 lines in 951 files changed: 13246 ins; 3823 del; 5342 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