Uuidv7

fun Uuidv7(timeStamp: Instant = Clock.System.now(), random: Random): Uuid(source)

An Uuidv7 implementation according to the draft.


fun Uuidv7(timeStamp: Long): Uuid(source)

Deprecated

Use Uuid.generateV7 of Kotlin 2.3.0 instead

An Uuidv7 implementation according to the draft.

timeStamp must be an 48 bit unix timestamp.


fun Uuidv7(timeStamp: Long, random: Random): Uuid(source)

Deprecated

Use Uuidv7 with an Instant or use Uuid.generateV7 of Kotlin 2.3.0 instead

An Uuidv7 implementation according to the draft.

timeStamp must be an 48 bit unix timestamp.


fun Uuidv7(timeStamp: Instant = Clock.System.now()): Uuid(source)

Deprecated

Use Uuid.generateV7 of Kotlin 2.3.0 instead

An Uuidv7 implementation according to the draft.