Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8276947: Clarify how DateTimeFormatterBuilder.appendFraction handles …
…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.
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

1 comment on commit 0ca0acf

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.