Companion

object Companion

Functions

from
Link copied to clipboard
fun from(epochSeconds: Long, nanosecondAdjustment: Int): RealmInstant

Creates a RealmInstant that is the epochSeconds number of seconds from the UNIX epoch 1970-01-01T00:00:00Z and the nanosecondAdjustment number of nanoseconds from the whole second.

now
Link copied to clipboard
fun now(): RealmInstant

Creates a RealmInstant describing the number of seconds and nanoseconds from the UNIX epoch 1970-01-01T00:00:00Z until now.

Properties

MAX
Link copied to clipboard
val MAX: RealmInstant

Maximum timestamp that can be stored in Realm.

MIN
Link copied to clipboard
val MIN: RealmInstant

Minimum timestamp that can be stored in Realm.