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 `construct()` methods to specify the milliseconds being used for time-based UUID generation #84

Closed BranchPredictor closed 1 year ago

BranchPredictor commented 1 year ago

This is useful for migrating existing sets of data which include a timestamp, but don't use ordered UUID values.

cowtowncoder commented 1 year ago

Ok, aside from 2 comments one missing thing: TimeBasedReorderedGenerator should get the new method as well.

With those I'm happy to merge this!

BranchPredictor commented 1 year ago

Have made updates based on PR review.