<i18n dev> RFR: 8366829: Add java.time.Duration constants MIN and MAX [v3]
Pavel Rappo
prappo at openjdk.org
Thu Oct 9 21:36:01 UTC 2025
On Wed, 8 Oct 2025 20:13:50 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
> As proposed. Duration.MAX() is not the negated value of Duration.MIN. Is there any value for them to have that mathematical property? Duration.MIN can not be negated, it throws "Exceeds capacity of Duration".
To future readers: initially this question was asked in [another PR][], and then I forwarded it to this [mailing list discussion][].
[another PR]: https://github.com/openjdk/jdk/pull/27549#discussion_r2414774950
[mailing list discussion]: https://mail.openjdk.org/pipermail/core-libs-dev/2025-October/153062.html
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27534#issuecomment-3387557653
More information about the i18n-dev
mailing list