Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/uuid/generateTimeBasedUuid.js

  • Provides:

    • dojox.uuid.generateTimeBasedUuid
  • dojox.uuid.generateTimeBasedUuid

    • parameters:
      • node: (typeof String)
        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"
    • returns
      String
    • summary
      This function generates time-based UUIDs, meaning "version 1" UUIDs.
    • description
      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
    • type
      Function
  • dojox.uuid.generateTimeBasedUuid.isValidNode

    • parameters:
      • node: (typeof String)
    • returns
      Boolean
    • type
      Function
  • dojox.uuid.generateTimeBasedUuid.setNode

    • parameters:
      • node: (typeof String)
        A 12-character hex string representing a pseudoNode or hardwareNode.
    • summary
      Sets the 'node' value that will be included in generated UUIDs.
    • type
      Function
  • dojox.uuid.generateTimeBasedUuid.setNode._uniformNode

  • dojox.uuid.generateTimeBasedUuid.getNode

    • returns
      String (a 12-character hex string representing a pseudoNode or hardwareNode)
    • summary
      Returns the 'node' value that will be included in generated UUIDs.
    • type
      Function
  • dojox.uuid.generateTimeBasedUuid._generator

    • type
      Object
  • dojox.uuid

    • type
      Object
  • dojox

    • type
      Object