RFR: 8276947: Clarify how DateTimeFormatterBuilder.appendFraction handles value ranges

Roger Riggs rriggs at openjdk.java.net
Wed Nov 10 14:49:34 UTC 2021


On Wed, 10 Nov 2021 13:57:21 GMT, Claes Redestad <redestad at openjdk.org> wrote:

> This changes the specification of `DateTimeFormatterBuilder.appendFraction` to more clearly specify that the formatter will throw an exception if you attempt to print a value outside of the value range of the given field. Changes suggested by @jodastephen in #6188.

Marked as reviewed by rriggs (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/6335


More information about the core-libs-dev mailing list