Constructs a new object ID from the given raw byte array.
Creates an on object ID from a string in standard hexa-decimal form.
Allows for relational comparison of different IDs.
Converts the ID to its standard hexa-decimal string representation.
Extracts the time/date portion of the object ID.
Returns true for any non-zero ID.
Creates a pseudo object ID that matches the given date.
Creates an on object ID from a string in standard hexa-decimal form.
Generates a unique object ID. * * By default it will use Clock.currTime(UTC()) as the timestamp * which guarantees that BsonObjectIDs are chronologically * sorted.
Represents a BSON object id (Bson.Type.binData).