mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8247781: Day periods support
Reviewed-by: scolebourne, rriggs, joehw
This commit is contained in:
parent
0357db3581
commit
bf84dac4cf
20 changed files with 1155 additions and 203 deletions
|
@ -333,8 +333,9 @@ public enum ChronoField implements TemporalField {
|
|||
* When parsing this field it behaves equivalent to the following:
|
||||
* The value is validated from 0 to 1 in strict and smart mode.
|
||||
* In lenient mode the value is not validated. It is combined with
|
||||
* {@code HOUR_OF_AMPM} to form {@code HOUR_OF_DAY} by multiplying
|
||||
* the {@code AMPM_OF_DAY} value by 12.
|
||||
* {@code HOUR_OF_AMPM} (if not present, it defaults to '6') to form
|
||||
* {@code HOUR_OF_DAY} by multiplying the {@code AMPM_OF_DAY} value
|
||||
* by 12.
|
||||
*/
|
||||
AMPM_OF_DAY("AmPmOfDay", HALF_DAYS, DAYS, ValueRange.of(0, 1), "dayperiod"),
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue