The original bug against DatePicker in FX: https://javafx-jira.kenai.com/browse/RT-35599
Copied from the evaluation:
The representation of a year value with more than four digits is preceded by a "+" sign, as required by the ISO standard: https://en.wikipedia.org/wiki/ISO_8601#Years
However, I am not sure if this standard should apply when formatting dates in a locale such as en_US, which does not otherwise use the ISO-6801 formats.
The error printed by HelloDatePicker is caused by the failure of java.time.DateTimeFormatter to (leniently) parse the "+yyyyy" year that it so happily generated.
Copied from the evaluation:
The representation of a year value with more than four digits is preceded by a "+" sign, as required by the ISO standard: https://en.wikipedia.org/wiki/ISO_8601#Years
However, I am not sure if this standard should apply when formatting dates in a locale such as en_US, which does not otherwise use the ISO-6801 formats.
The error printed by HelloDatePicker is caused by the failure of java.time.DateTimeFormatter to (leniently) parse the "+yyyyy" year that it so happily generated.
- blocks
-
JDK-8090207 DatePicker inserts + character when year contains more than 4 digits
-
- Open
-