mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +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 value is negative an exception will be thrown.
|
||||||
* If the field does not have a fixed set of valid values then an
|
* If the field does not have a fixed set of valid values then an
|
||||||
* exception will be thrown.
|
* exception will be thrown.
|
||||||
* If the field value in the date-time to be printed is invalid it
|
* If the field value in the date-time to be printed is outside the
|
||||||
* cannot be printed and an exception will be thrown.
|
* range of valid values then an exception will be thrown.
|
||||||
*
|
*
|
||||||
* @param field the field to append, not null
|
* @param field the field to append, not null
|
||||||
* @param minWidth the minimum width of the field excluding the decimal point, from 0 to 9
|
* @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