On Tue, 7 Nov 2023 15:15:19 GMT, Shaojin Wen wrote:
>> Within java.util.Formatter, the year formatter supports only the range
>> [0,].
>> Only ISO_STANDARD_DATE has a ISO 8601 format defined for numbers outside
>> that range.
>> The formatting in java.time is defined over the full range of
On Tue, 7 Nov 2023 15:04:16 GMT, Roger Riggs wrote:
>> While it might be reasonable to localize using `getMinusSign()` this will
>> introduce a new inconsistency with `DateTimeFormatter` (which *does not*
>> localize minus signs in front of years):
>>
>> int minus = DecimalFormatSymbols.getIn
On Tue, 7 Nov 2023 13:45:54 GMT, Claes Redestad wrote:
>> test/jdk/java/util/Formatter/BasicDateTime.java line 473:
>>
>>> 471: "%tF",
>>> 472:
>>> DecimalFormatSymbols.getInstance(localeEuES).getMinusSign() + "2023-01-13",
>>> 473: LocalDate.of(-
On Tue, 7 Nov 2023 13:28:06 GMT, Naoto Sato wrote:
>> Shaojin Wen has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> use DecimalFormatSymbols#getMinusSign
>
> test/jdk/java/util/Formatter/BasicDateTime.java line 473:
>
>> 471:
On Tue, 7 Nov 2023 01:31:03 GMT, Shaojin Wen wrote:
>> j.u.Formatter now prints "%tF" (iso standard date) and the result is
>> incorrect when processing year < 0 or year >
>
> Shaojin Wen has updated the pull request incrementally with one additional
> commit since the last revision:
>
>
> j.u.Formatter now prints "%tF" (iso standard date) and the result is
> incorrect when processing year < 0 or year >
Shaojin Wen has updated the pull request incrementally with one additional
commit since the last revision:
use DecimalFormatSymbols#getMinusSign
-
Changes: