Instant

data class Instant(val epochSeconds: Long, val nanosecondsOfSecond: Int = 0) : Comparable<Instant>

Constructors

Link copied to clipboard
constructor(epochSeconds: Long, nanosecondsOfSecond: Int = 0)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun compareTo(other: Instant): Int
Link copied to clipboard
operator fun minus(other: Instant): Duration
operator fun minus(duration: Duration): Instant
Link copied to clipboard
operator fun plus(duration: Duration): Instant
Link copied to clipboard
Link copied to clipboard
fun toLocalDateTime(timeZone: TimeZone): LocalDateTime