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

Naoto Sato naoto at openjdk.org
Mon Apr 29 21:32:16 UTC 2024


> 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:

  Test with Duration.between()

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/19007/files
  - new: https://git.openjdk.org/jdk/pull/19007/files/ff599c4f..df2c1157

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=19007&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19007&range=00-01

  Stats: 4 lines in 1 file changed: 3 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/19007.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19007/head:pull/19007

PR: https://git.openjdk.org/jdk/pull/19007


More information about the core-libs-dev mailing list