Package | impression.utilities |
Class | public class GUID |
Inheritance | GUID ![]() |
GUIDs generated by this class are RFC 4122 Version 4 conformant, consisting
of random numbers, the version number, and two reserved bits. These GUIDs have
the form xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxx
where x
is any hexidecimal digit and y
is (randomly) one of 8
,
9
, A
, or B
.
Method | Defined By | ||
---|---|---|---|
newGUID(format:String = D):String [static]
Returns a new GUID. | GUID |
Constant | Defined By | ||
---|---|---|---|
EMPTY : String = 00000000-0000-0000-0000-000000000000 [static]
Defines an empty GUID. | GUID |
newGUID | () | method |
public static function newGUID(format:String = D):String
Returns a new GUID.
Parameters
format:String (default = D ) — Optional character specifying the format of the result. format can be one of the following values:
The GUID is RFC 4122 Version 4 conformant. |
String |
EMPTY | Constant |
public static const EMPTY:String = 00000000-0000-0000-0000-000000000000
Defines an empty GUID.
The GUID.EMPTY
constant defines a GUID with no value.