Hello @core-libs-dev <[email protected]>, Today was the first time I used the UUID library past UUID.randomUUID() and UUID.fromString(String).
I saw that UUID.ofEpochMillis(long timestamp) has the ability to create a UUID version 7 UUID -- a time-based UUID! Great, I also see that there is a UUID.timestamp() method, can I use that to extract the timestamp from it? Sadly, no. The UUID.timestamp() method is reserved for UUID version 1, whereas UUID.ofEpochMillis(long timestamp) generates UUID version 7. Ok, fair, the documentation is clear. But why can't we just add that functionality to UUID.timestamp()? It's not that complex. Alternatively, could we add a method that returns something more strongly typed, like UUID.extractInstant()? Then, we can leave this method alone, and just make a new one. Thank you for your time and consideration. David Alayachew
