RFR: 8281103: Give example for Locale that is English and follows the ISO standards
Justin Lu
jlu at openjdk.org
Tue May 9 20:47:51 UTC 2023
Please review this PR which adds an example snippet to `java.time.temporal.WeekFields.of(Locale locale)`
The snippet demonstrates how to create a Locale that has English Locale qualities with an ISO-8601 first day of the week.
This snippet was added as there was a desire for an English/ISO-8601 Locale constant to be added, but the existing methods in the JDK are better suited for accomplishing this.
-------------
Commit messages:
- Correct param in example
- Copyright year
- JDK-8281103
Changes: https://git.openjdk.org/jdk/pull/13893/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13893&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8281103
Stats: 9 lines in 1 file changed: 8 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/13893.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13893/head:pull/13893
PR: https://git.openjdk.org/jdk/pull/13893
More information about the core-libs-dev
mailing list