Duration.MAX_VALUE
Stephen Colebourne
scolebourne at joda.org
Wed Oct 15 08:04:25 UTC 2025
On Mon, 13 Oct 2025 at 21:44, Pavel Rappo <pavel.rappo at gmail.com> wrote:
>
> Thanks! I think that your experiment confirms that we do _not_ need
> subtraction, at least initially. A single, focused method for
> saturated addition should be enough. I'll update PR (
> https://github.com/openjdk/jdk/pull/27549 ), which you are welcome to
> review.
>
> Stephen, are you okay with this?
Given I find the saturating use case a bit marginal, I'm happy to only
see the add variant added.
Stephen
More information about the core-libs-dev
mailing list