mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8276947: Clarify how DateTimeFormatterBuilder.appendFraction handles value ranges
Reviewed-by: rriggs, naoto
This commit is contained in:
parent
b0d7a9daa6
commit
0ca0acf63c
1 changed files with 2 additions and 2 deletions
|
@ -688,8 +688,8 @@ public final class DateTimeFormatterBuilder {
|
|||
* If the value is negative an exception will be thrown.
|
||||
* If the field does not have a fixed set of valid values then an
|
||||
* exception will be thrown.
|
||||
* If the field value in the date-time to be printed is invalid it
|
||||
* cannot be printed and an exception will be thrown.
|
||||
* If the field value in the date-time to be printed is outside the
|
||||
* range of valid values then an exception will be thrown.
|
||||
*
|
||||
* @param field the field to append, not null
|
||||
* @param minWidth the minimum width of the field excluding the decimal point, from 0 to 9
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue