RFR: 8331202: Support for Duration until another Instant [v3]

Naoto Sato naoto at openjdk.org
Thu May 2 16:14:53 UTC 2024


On Wed, 1 May 2024 17:21:20 GMT, Naoto Sato <naoto at openjdk.org> wrote:

>> A new method on Instant to return the duration `until` another Instant is suggested per the following discussion thread:
>> 
>> https://mail.openjdk.org/pipermail/core-libs-dev/2024-April/122131.html
>> 
>> A CSR has also been drafted.
>
> Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Addressing CSR reviews

+1 to Roger's observation. Adding a conceptually different `minus` method would be confusing.

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

PR Comment: https://git.openjdk.org/jdk/pull/19007#issuecomment-2090926275


More information about the core-libs-dev mailing list