<i18n dev> RFR: 8337279: Optimize format instant [v13]

Naoto Sato naoto at openjdk.org
Mon Feb 3 22:14:16 UTC 2025


On Thu, 30 Jan 2025 14:36:28 GMT, Shaojin Wen <swen at openjdk.org> wrote:

>> src/java.base/share/classes/jdk/internal/util/DateTimeHelper.java line 26:
>> 
>>> 24:  * questions.
>>> 25:  */
>>> 26: package jdk.internal.util;
>> 
>> Maybe `jdk.internal.time` would be appropriate.
>
> Currently, since we only have the DateTimeHelper class, we can wait until there are two or more classes before creating the jdk.internal.time package.

This utility class can be final, and have a private default constructor so that no instance can be created.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20353#discussion_r1940135372


More information about the i18n-dev mailing list