<i18n dev> RFR: 8331207: Misleading example in DateFormat#parse docs [v2]

Justin Lu jlu at openjdk.org
Fri Apr 26 18:15:12 UTC 2024


> Correct a misleading example in the DateFormat parse documentation. 
> 
> Common usage is to use a factory instance. The original example provided assumes a pattern provided by a COMPAT factory instance. The pattern itself should be explicitly provided. This is chosen over using a CLDR pattern, as it uses a NBSP.

Justin Lu has updated the pull request incrementally with one additional commit since the last revision:

  use COMPAT example, CLDR NBSP is problematic

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18983/files
  - new: https://git.openjdk.org/jdk/pull/18983/files/e5e93258..48978166

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18983&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18983&range=00-01

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/18983.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18983/head:pull/18983

PR: https://git.openjdk.org/jdk/pull/18983


More information about the i18n-dev mailing list