<i18n dev> Integrated: 8276947: Clarify how DateTimeFormatterBuilder.appendFraction handles value ranges

Claes Redestad redestad at openjdk.java.net
Thu Nov 11 20:40:39 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.

This pull request has now been integrated.

Changeset: 0ca0acf6
Author:    Claes Redestad <redestad at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/0ca0acf63cb5cec4c62a9948956a04822d6f74a5
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8276947: Clarify how DateTimeFormatterBuilder.appendFraction handles value ranges

Reviewed-by: rriggs, naoto

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

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


More information about the i18n-dev mailing list