Skip to content

Commit

Permalink
8276947: Clarify how DateTimeFormatterBuilder.appendFraction handles …
Browse files Browse the repository at this point in the history
…value ranges

Reviewed-by: rriggs, naoto
  • Loading branch information
cl4es committed Nov 11, 2021
1 parent b0d7a9d commit 0ca0acf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -688,8 +688,8 @@ private DateTimeFormatterBuilder appendValue(NumberPrinterParser pp) {
* 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
Expand Down

0 comments on commit 0ca0acf

Please sign in to comment.