BsonTimestamp

class BsonTimestamp


Represents a BSON Timestamp type in Firestore documents.

Summary

Public constructors

BsonTimestamp(seconds: Long, increment: Long)

Constructor that creates a new BSON Timestamp value with the given values.

Public functions

Boolean
equals(obj: Any!)

Returns true if this BsonTimestampValue is equal to the provided object.

Int
String!

Public properties

Long
Long

Public constructors

BsonTimestamp

BsonTimestamp(seconds: Long, increment: Long)

Constructor that creates a new BSON Timestamp value with the given values.

Parameters
seconds: Long

An unsigned 32-bit integer value stored as long representing the seconds.

increment: Long

An unsigned 32-bit integer value stored as long representing the increment.

Public functions

equals

fun equals(obj: Any!): Boolean

Returns true if this BsonTimestampValue is equal to the provided object.

Parameters
obj: Any!

The object to compare against.

Returns
Boolean

Whether this BsonTimestampValue is equal to the provided object.

hashCode

fun hashCode(): Int

toString

fun toString(): String!

Public properties

increment

val increment: Long

seconds

val seconds: Long