Hello,
glad to have the honour of writing the first issue 😄
The project looks quite promising and I'd love to adopt it at $WORK, ditching com.github.f4b6a3:uuid-creator, but there's a missing piece of functionality we'd require: extracting timestamps from UUIDv6 and v7 by looking at the time-encoding bits. So something like
object UUID4CatsEffect {
// could also return Option[Long] with epoch millis or be overloaded
def extractTimestamp(uuid: UUID): Option[java.time.Instant] = ...
}
Hello, glad to have the honour of writing the first issue 😄
The project looks quite promising and I'd love to adopt it at $WORK, ditching
com.github.f4b6a3:uuid-creator
, but there's a missing piece of functionality we'd require: extracting timestamps from UUIDv6 and v7 by looking at the time-encoding bits. So something likeInspired by UUIDUtil.getInstant.
I'm not sure I can find the time to contribute, but in any way would be glad if this feature made it into the library.