t: July 10, 2023 11:51 PM
To: Bruno Borges ; core-libs-dev@openjdk.org
Cc: Naoto Sato
Subject: Re: [EXTERNAL] Re: 4-letter patterns in Date Format Style no longer
give full text style
On 10/07/2023 21:09, Naoto Sato wrote:
> :
>
>>
>> And isn't this the case of a breaki
On 10/07/2023 21:09, Naoto Sato wrote:
:
And isn't this the case of a breaking change more than just updating
the time database used by default in JDK?
You could specify the system property `java.locale.providers` to
COMPAT to use the JDK8 locales (although this has been deprecated in
rom:* Naoto Sato
*Sent:* Monday, July 10, 2023 12:36:10 PM
*To:* Bruno Borges ;
core-libs-dev@openjdk.org
*Subject:* [EXTERNAL] Re: 4-letter patterns in Date Format Style no
longer give full text style
Hi,
In your test case,
```
new Locale("en_US");
```
This will fall back to ROOT
Bruno Borges ; core-libs-dev@openjdk.org
Subject: [EXTERNAL] Re: 4-letter patterns in Date Format Style no longer give
full text style
Hi,
In your test case,
```
new Locale("en_US");
```
This will fall back to ROOT locale texts with CLDR (default since JDK9)
where it differs fro
Hi,
In your test case,
```
new Locale("en_US");
```
This will fall back to ROOT locale texts with CLDR (default since JDK9)
where it differs from US English. Probably you may want to `new
Locale("en", "US)` or preferably use `Locale.US` constant.
Naoto
On 7/10/23 12:08 PM, Bruno Borges wro
Perhaps JEP 252 (https://openjdk.org/jeps/252) as mentioned in the JDK 9
release notes.
-Joe
On 7/10/2023 12:08 PM, Bruno Borges wrote:
Hi all,
Was there any change to Date Time Formatter API that made the ""
and the "" (and other 4-letter patterns) change from Java 8 to 11+ ?
In
Hi all,
Was there any change to Date Time Formatter API that made the "" and the
"" (and other 4-letter patterns) change from Java 8 to 11+ ?
In Java 8, "" with locale en_US correctly gives the FULL day of week, e.g.,
"Monday".
In Java 11 and 17 (two I've tested), the same input wi