Namespacedojox.uuid

Universally Unique Identifier (UUID) implementations, including an implementation of UUID 2

Jump to PropertiesJump to FunctionsConstructorsBack to top

This is the constructor for the Uuid class. The Uuid class offers methods for inspecting existing UUIDs.

Jump to PropertiesJump to ConstructorsFunctionsBack to top

Functiondojox.uuid.assert(booleanValue: Boolean, message: String?)
Throws an exception if the assertion fails.
This function returns the Nil UUID: "00000000-0000-0000-0000-000000000000".
This function generates random UUIDs, meaning "version 4" UUIDs.
This function generates time-based UUIDs, meaning "version 1" UUIDs.
If this is a version 1 UUID (a time-based UUID), getNode() returns a 12-character string with the "node" or "pseudonode" portion of the UUID, which is the rightmost 12 characters.
Functiondojox.uuid.getTimestamp(uuidString: String, returnType: String?)
If this is a version 1 UUID (a time-based UUID), this method returns the timestamp value encoded in the UUID. The caller can ask for the timestamp to be returned either as a JavaScript Date object or as a 15-character string of hex digits.
Returns a variant code that indicates what type of UUID this is. Returns one of the enumerated dojox.uuid.variant values.
Returns a version number that indicates what type of UUID this is. Returns one of the enumerated dojox.uuid.version values.
Returns true if the UUID was initialized with a valid value.

Jump to FunctionsJump to ConstructorsPropertiesBack to top