RFR: 8331202: Support for Duration until another Instant
Naoto Sato
naoto at openjdk.org
Mon Apr 29 19:45:30 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.
-------------
Commit messages:
- Prefer until over between
- nonnull
- Internal suggestions, added a test
- initial commit
Changes: https://git.openjdk.org/jdk/pull/19007/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19007&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8331202
Stats: 62 lines in 2 files changed: 59 ins; 0 del; 3 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