Timestamp

Internal MongoDB timestamp used in the oplog.

Use the kotlin.time.Instant type for operations involving dates.

Constructors

Link copied to clipboard
constructor(instant: Instant, counter: UInt)

Constructs a timestamp from its Timestamp.instant and Timestamp.counter components.

constructor(value: ULong)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Default serializer for Timestamp.

Properties

Link copied to clipboard

Incrementing counter.

Link copied to clipboard

Date and time represented by this Timestamp, with a precision of one second.

Link copied to clipboard

The raw value for this Timestamp.

Functions

Link copied to clipboard
open operator override fun compareTo(other: Timestamp): Int
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String