Functiondojox.uuid.generateTimeBasedUuid

dojo.require("dojox.uuid.generateTimeBasedUuid");
defined in dojox/uuid/generateTimeBasedUuid.js

For more info, see http://www.webdav.org/specs/draft-leach-uuids-guids-01.txt http://www.infonuovo.com/dma/csdocs/sketch/instidid.htm http://kruithof.xs4all.nl/uuid/uuidgen http://www.opengroup.org/onlinepubs/009629399/apdxa.htm#tagcjh_20 http://jakarta.apache.org/commons/sandbox/id/apidocs/org/apache/commons/id/uuid/clock/Clock.html

Usage

function (/*String?*/ node) (view source)
parametertypedescription
nodeStringOptional. A 12-character hex string representing either a pseudo-node or hardware-node (an IEEE 802.3 network node). A hardware-node will be something like "017bf397618a", always with the first bit being 0. A pseudo-node will be something like "f17bf397618a", always with the first bit being 1. examples: string = dojox.uuid.generateTimeBasedUuid(); string = dojox.uuid.generateTimeBasedUuid("017bf397618a"); dojox.uuid.generateTimeBasedUuid.setNode("017bf397618a"); string = dojox.uuid.generateTimeBasedUuid(); // the generated UUID has node == "017bf397618a"

Jump to FunctionsJump to ConstructorsNamespacesBack to top

Jump to FunctionsJump to NamespacesConstructorsBack to top

ConstructorsetNode(node: String?)
Sets the 'node' value that will be included in generated UUIDs.

Jump to ConstructorsJump to NamespacesFunctionsBack to top

Returns the 'node' value that will be included in generated UUIDs.