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

Naoto Sato naoto at openjdk.org
Tue Aug 8 17:19:55 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 five additional commits since the last revision:

 - Merge branch 'master' into JDK-8041488-ListPatterns-PR
 - parsePosition update
 - Wording fixes
 - Added test
 - Initial commit

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15130/files
  - new: https://git.openjdk.org/jdk/pull/15130/files/50ba267c..a98e1e1f

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

  Stats: 8981 lines in 435 files changed: 3504 ins; 2284 del; 3193 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