Bson Timestamp
A representation the BSON timestamp type.
Note: BSON has a special timestamp type for internal MongoDB use and is not associated with the regular BsonDateTime. This internal timestamp type is a 64 bit value where:
the most significant 32 bits are a time_t value (seconds since the Unix epoch)
the least significant 32 bits are an incrementing ordinal for operations within a given second.
Constructors
Construct a new instance for the given time and increment.
construct a new instance
Functions
Gets this value as a BsonBinary if it is one, otherwise throws exception
Gets this value as a BsonBoolean if it is one, otherwise throws exception
Gets this value as a BsonMaxKey if it is one, otherwise throws exception
Gets this value as a BsonMinKey if it is one, otherwise throws exception
Gets this value as a BsonNull if it is one, otherwise throws exception
Gets this value as a BsonUndefined if it is one, otherwise throws exception
Gets this value as a BsonDateTime if it is one, otherwise throws exception
Gets this value as a BsonDBPointer if it is one, otherwise throws exception
Gets this value as a BsonDecimal128 if it is one, otherwise throws exception
Gets this value as a BsonDocument if it is one, otherwise throws exception
Gets this value as a BsonDouble if it is one, otherwise throws exception
Gets this value as a BsonJavaScript if it is one, otherwise throws exception
Gets this value as a BsonJavaScriptWithScope if it is one, otherwise throws exception
Gets this value as a BsonNumber if it is one, otherwise throws exception
Gets this value as an BsonObjectId if it is one, otherwise throws exception
Gets this value as a BsonRegularExpression if it is one, otherwise throws exception
Gets this value as a BsonString if it is one, otherwise throws exception
Gets this value as a BsonSymbol if it is one, otherwise throws exception
Gets this value as a BsonTimestamp if it is one, otherwise throws exception