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

Naoto Sato naoto at openjdk.org
Mon Mar 10 16:16:03 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.

Thank you for the reviews!

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

PR Comment: https://git.openjdk.org/jdk/pull/23937#issuecomment-2711119572


More information about the i18n-dev mailing list