On Thu, 23 Oct 2025 09:55:41 GMT, Jaikiran Pai <[email protected]> wrote:

>>> I prefer `fromEpochMillis(...)` instead of the current `epochMillis(...)`. 
>>> @RogerRiggs, @AlanBateman which one of these method names do you suggest we 
>>> proceed with?
>> 
>> The JDK has used `of` and `ofXXX` for static factory methods in recent 
>> years. There are a few cases that introduce `fromXXX`, often for cases with 
>> more parsing and failure conditions. It's impossible to be 100% consistent. 
>> I think `UUID.ofEpochMillis(long)` would work here.
>
>> I think UUID.ofEpochMillis(long) would work here.
> 
> That sounds good to me too. @kieran-farrell, if you agree with this name too, 
> please update the PR and the CSR.

Agreed, have updated both now

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25303#discussion_r2454653474

Reply via email to