<i18n dev> Integrated: 8281103: Give example for Locale that is English and follows the ISO standards

Justin Lu jlu at openjdk.org
Thu May 11 00:00:49 UTC 2023


On Tue, 9 May 2023 20:39:19 GMT, Justin Lu <jlu at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 4795c395
Author:    Justin Lu <jlu at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/4795c395e9799719dfcdd947fe8905f25f3a11a2
Stats:     9 lines in 1 file changed: 8 ins; 0 del; 1 mod

8281103: Give example for Locale that is English and follows the ISO standards

Reviewed-by: rriggs, lancea, naoto

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

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


More information about the i18n-dev mailing list