A class representing a point in time.
kotlin.Comparable
TimePoint(timeFromEpoch: Duration)
timeFromEpoch
Duration
operator fun plus(duration: Duration): TimePoint
duration
TimePoint
operator fun minus(duration: Duration): TimePoint
operator fun minus(other: TimePoint): Duration
other
fun compareTo(other: TimePoint): Int
Int
fun toString(): String
String
@JvmStatic fun ofEpochMilliseconds(milliseconds: Long): TimePoint
milliseconds
Long
@JvmStatic fun ofEpochSeconds(seconds: Long): TimePoint
seconds
@JvmStatic fun ofEpochMinutes(minutes: Long): TimePoint
minutes
@JvmStatic fun ofEpochHours(hours: Long): TimePoint
hours
@JvmStatic fun ofEpochDays(days: Long): TimePoint
days
@JvmStatic fun now(): TimePoint
val timeFromEpoch
val EPOCH
val INFINITY