<i18n dev> Integrated: 8351017: ChronoUnit.MONTHS.between() not giving correct result when date is in February
Naoto Sato
naoto at openjdk.org
Mon Mar 10 16:16:04 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.
This pull request has now been integrated.
Changeset: 32f2c2d8
Author: Naoto Sato <naoto at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/32f2c2d80894552b8c5329cfa51c7e836314901f
Stats: 9 lines in 1 file changed: 6 ins; 0 del; 3 mod
8351017: ChronoUnit.MONTHS.between() not giving correct result when date is in February
Reviewed-by: scolebourne, rriggs
-------------
PR: https://git.openjdk.org/jdk/pull/23937
More information about the i18n-dev
mailing list