tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

Logic issue in UUIDGenerator.get64MostSignificantBitsForVersion1()

Open kierankelleher opened this issue 3 years ago • 1 comments

Since time is in 100 nano increments shouldn't the nanos be divided by 100 and not multiplied by 100?

long timeForUuidIn100Nanos = seconds * 10000000L + nanos / 100L;

kierankelleher avatar Sep 07 '21 20:09 kierankelleher

Thanks for the feedback @kierankelleher. This is already on our TODO list and hopefully we'll be able to fix the article soon. Will let you know here :)

kwoyke avatar Oct 13 '21 15:10 kwoyke

Hi @kierankelleher - the article has been updated and the issue is addressed. Thanks

kasramp avatar Oct 01 '23 14:10 kasramp