<i18n dev> RFR: 8351017: ChronoUnit.MONTHS.between() not giving correct result when date is in February
Naoto Sato
naoto at openjdk.org
Thu Mar 6 23:42:25 UTC 2025
Clarifying the explanation for `TemporalUnit.between()`. There is already an example for the `HOURS` case where the minutes are not enough to make a full hour. Explaining how smaller units contribute to determining the whole number, along with an explicit `MONTHS` example, which was the case reported by the bug submitter, will help users.
-------------
Commit messages:
- initial commit
Changes: https://git.openjdk.org/jdk/pull/23937/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23937&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8351017
Stats: 9 lines in 1 file changed: 6 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/23937.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/23937/head:pull/23937
PR: https://git.openjdk.org/jdk/pull/23937
More information about the i18n-dev
mailing list