<i18n dev> RFR: 8351017: ChronoUnit.MONTHS.between() not giving correct result when date is in February
Roger Riggs
rriggs at openjdk.org
Fri Mar 7 15:47:54 UTC 2025
On Thu, 6 Mar 2025 23:36:29 GMT, Naoto Sato <naoto at openjdk.org> wrote:
> 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.
A nice, simple and direct clarification. Thanks
-------------
Marked as reviewed by rriggs (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/23937#pullrequestreview-2667651475
More information about the i18n-dev
mailing list