clojurewerkz.cassaforte.uuids

Provides utility functions for UUID generation.

end-of

(end-of timestamp)
Creates a "fake" time-based UUID that sorts as the biggest possible
version 1 UUID generated at the provided timestamp.

   Timestamp must be a unix timestamp.

random

(random)
Creates a new random (version 4) UUID.

start-of

(start-of timestamp)
Creates a "fake" time-based UUID that sorts as the smallest possible
version 1 UUID generated at the provided timestamp.

   Timestamp must be a unix timestamp.

time-based

(time-based)
Creates a new time-based (version 1) UUID.

unix-timestamp

(unix-timestamp uuid)
Return the unix timestamp contained by the provided time-based UUID.