Класс, представляющий момент времени.
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
Время, прошедшее с 00:00:00 UTC 1 января 1970 года (Unix-время).
val timeFromEpoch
val EPOCH
val INFINITY