BsonTimestamp

fun BsonTimestamp(seconds: Int, increment: Int)

Construct a new instance for the given time and increment.

Parameters

seconds

the number of seconds since the epoch

increment

the incrementing ordinal for operations within a given second.


fun BsonTimestamp(value: Long = 0)

construct a new instance