makeUniqueIdentifier static method

FutureUniqueIdentifier makeUniqueIdentifier()

Implementation

static FutureUniqueIdentifier makeUniqueIdentifier()
{
    DateTime now = DateTime.now();
    int milliseconds = now.millisecondsSinceEpoch;

    String identifier = "CLAID_DART_" + FutureUniqueIdentifier._currentId.toString() + "_" + milliseconds.toString();

    FutureUniqueIdentifier._currentId++;

    return new FutureUniqueIdentifier(identifier);
}