<i18n dev> RFR: 8351017: ChronoUnit.MONTHS.between() not giving correct result when date is in February

Stephen Colebourne scolebourne at openjdk.org
Fri Mar 7 06:50:51 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.

Marked as reviewed by scolebourne (Author).

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

PR Review: https://git.openjdk.org/jdk/pull/23937#pullrequestreview-2666401651


More information about the i18n-dev mailing list