cowtowncoder / java-uuid-generator

Java Uuid Generator (JUG) is a Java library for generating all standard UUID versions (v1 - v7)
Apache License 2.0
730 stars 104 forks source link

Add support for Proposed type v7 (epoch-based time uuid) #46

Closed cowtowncoder closed 2 years ago

cowtowncoder commented 2 years ago

So as per:

https://www.ietf.org/id/draft-peabody-dispatch-new-uuid-format-03.html

there are 3 types; this is for implementing variant 7, time-based variant where timestamp is from Unix epoch (january 1st, 1970 UTC).

Support should include both reading and generating such UUIDs.