| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Double.days' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "this.days", imports = {"kotlin.time.Duration.Companion.days"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public val kotlin.Double.days: kotlin.time.Duration { get; } |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Int.days' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "this.days", imports = {"kotlin.time.Duration.Companion.days"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public val kotlin.Int.days: kotlin.time.Duration { get; } |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Long.days' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "this.days", imports = {"kotlin.time.Duration.Companion.days"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public val kotlin.Long.days: kotlin.time.Duration { get; } |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Double.hours' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "this.hours", imports = {"kotlin.time.Duration.Companion.hours"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public val kotlin.Double.hours: kotlin.time.Duration { get; } |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Int.hours' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "this.hours", imports = {"kotlin.time.Duration.Companion.hours"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public val kotlin.Int.hours: kotlin.time.Duration { get; } |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Long.hours' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "this.hours", imports = {"kotlin.time.Duration.Companion.hours"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public val kotlin.Long.hours: kotlin.time.Duration { get; } |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Double.microseconds' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "this.microseconds", imports = {"kotlin.time.Duration.Companion.microseconds"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public val kotlin.Double.microseconds: kotlin.time.Duration { get; } |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Int.microseconds' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "this.microseconds", imports = {"kotlin.time.Duration.Companion.microseconds"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public val kotlin.Int.microseconds: kotlin.time.Duration { get; } |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Long.microseconds' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "this.microseconds", imports = {"kotlin.time.Duration.Companion.microseconds"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public val kotlin.Long.microseconds: kotlin.time.Duration { get; } |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Double.milliseconds' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "this.milliseconds", imports = {"kotlin.time.Duration.Companion.milliseconds"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public val kotlin.Double.milliseconds: kotlin.time.Duration { get; } |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Int.milliseconds' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "this.milliseconds", imports = {"kotlin.time.Duration.Companion.milliseconds"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public val kotlin.Int.milliseconds: kotlin.time.Duration { get; } |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Long.milliseconds' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "this.milliseconds", imports = {"kotlin.time.Duration.Companion.milliseconds"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public val kotlin.Long.milliseconds: kotlin.time.Duration { get; } |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Double.minutes' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minutes", imports = {"kotlin.time.Duration.Companion.minutes"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public val kotlin.Double.minutes: kotlin.time.Duration { get; } |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Int.minutes' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minutes", imports = {"kotlin.time.Duration.Companion.minutes"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public val kotlin.Int.minutes: kotlin.time.Duration { get; } |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Long.minutes' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minutes", imports = {"kotlin.time.Duration.Companion.minutes"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public val kotlin.Long.minutes: kotlin.time.Duration { get; } |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Double.nanoseconds' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "this.nanoseconds", imports = {"kotlin.time.Duration.Companion.nanoseconds"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public val kotlin.Double.nanoseconds: kotlin.time.Duration { get; } |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Int.nanoseconds' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "this.nanoseconds", imports = {"kotlin.time.Duration.Companion.nanoseconds"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public val kotlin.Int.nanoseconds: kotlin.time.Duration { get; } |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Long.nanoseconds' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "this.nanoseconds", imports = {"kotlin.time.Duration.Companion.nanoseconds"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public val kotlin.Long.nanoseconds: kotlin.time.Duration { get; } |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Double.seconds' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "this.seconds", imports = {"kotlin.time.Duration.Companion.seconds"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public val kotlin.Double.seconds: kotlin.time.Duration { get; } |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Int.seconds' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "this.seconds", imports = {"kotlin.time.Duration.Companion.seconds"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public val kotlin.Int.seconds: kotlin.time.Duration { get; } |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Long.seconds' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "this.seconds", imports = {"kotlin.time.Duration.Companion.seconds"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public val kotlin.Long.seconds: kotlin.time.Duration { get; } |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| public inline fun measureTime(block: () -> kotlin.Unit): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| public inline fun <T> measureTimedValue(block: () -> T): kotlin.time.TimedValue<T> |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| public inline fun kotlin.time.TimeSource.measureTime(block: () -> kotlin.Unit): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.7") |
| @kotlin.time.ExperimentalTime |
| public inline fun kotlin.time.TimeSource.Monotonic.measureTime(block: () -> kotlin.Unit): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| public inline fun <T> kotlin.time.TimeSource.measureTimedValue(block: () -> T): kotlin.time.TimedValue<T> |
| |
| @kotlin.SinceKotlin(version = "1.7") |
| @kotlin.time.ExperimentalTime |
| public inline fun <T> kotlin.time.TimeSource.Monotonic.measureTimedValue(block: () -> T): kotlin.time.TimedValue<T> |
| |
| @kotlin.SinceKotlin(version = "1.6") |
| @kotlin.WasExperimental(markerClass = {kotlin.time.ExperimentalTime::class}) |
| @kotlin.internal.InlineOnly |
| public inline operator fun kotlin.Double.times(duration: kotlin.time.Duration): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.6") |
| @kotlin.WasExperimental(markerClass = {kotlin.time.ExperimentalTime::class}) |
| @kotlin.internal.InlineOnly |
| public inline operator fun kotlin.Int.times(duration: kotlin.time.Duration): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.6") |
| @kotlin.WasExperimental(markerClass = {kotlin.time.ExperimentalTime::class}) |
| public fun kotlin.Double.toDuration(unit: kotlin.time.DurationUnit): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.6") |
| @kotlin.WasExperimental(markerClass = {kotlin.time.ExperimentalTime::class}) |
| public fun kotlin.Int.toDuration(unit: kotlin.time.DurationUnit): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.6") |
| @kotlin.WasExperimental(markerClass = {kotlin.time.ExperimentalTime::class}) |
| public fun kotlin.Long.toDuration(unit: kotlin.time.DurationUnit): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Using AbstractDoubleTimeSource is no longer recommended, use AbstractLongTimeSource instead.") |
| public abstract class AbstractDoubleTimeSource : kotlin.time.TimeSource.WithComparableMarks { |
| public constructor AbstractDoubleTimeSource(unit: kotlin.time.DurationUnit) |
| |
| protected final val unit: kotlin.time.DurationUnit { get; } |
| |
| public open override fun markNow(): kotlin.time.ComparableTimeMark |
| |
| protected abstract fun read(): kotlin.Double |
| } |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| public abstract class AbstractLongTimeSource : kotlin.time.TimeSource.WithComparableMarks { |
| public constructor AbstractLongTimeSource(unit: kotlin.time.DurationUnit) |
| |
| protected final val unit: kotlin.time.DurationUnit { get; } |
| |
| public open override fun markNow(): kotlin.time.ComparableTimeMark |
| |
| protected abstract fun read(): kotlin.Long |
| } |
| |
| @kotlin.SinceKotlin(version = "1.8") |
| @kotlin.time.ExperimentalTime |
| public interface ComparableTimeMark : kotlin.time.TimeMark, kotlin.Comparable<kotlin.time.ComparableTimeMark> { |
| public open override operator fun compareTo(other: kotlin.time.ComparableTimeMark): kotlin.Int |
| |
| public abstract override operator fun equals(other: kotlin.Any?): kotlin.Boolean |
| |
| public abstract override fun hashCode(): kotlin.Int |
| |
| public abstract operator fun minus(other: kotlin.time.ComparableTimeMark): kotlin.time.Duration |
| |
| public open override operator fun minus(duration: kotlin.time.Duration): kotlin.time.ComparableTimeMark |
| |
| public abstract override operator fun plus(duration: kotlin.time.Duration): kotlin.time.ComparableTimeMark |
| } |
| |
| @kotlin.SinceKotlin(version = "1.6") |
| @kotlin.WasExperimental(markerClass = {kotlin.time.ExperimentalTime::class}) |
| @kotlin.jvm.JvmInline |
| public final inline class Duration : kotlin.Comparable<kotlin.time.Duration> { |
| public final val absoluteValue: kotlin.time.Duration { get; } |
| |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use inWholeDays property instead or convert toDouble(DAYS) if a double value is required.", replaceWith = kotlin.ReplaceWith(expression = "toDouble(DurationUnit.DAYS)", imports = {})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public final val inDays: kotlin.Double { get; } |
| |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use inWholeHours property instead or convert toDouble(HOURS) if a double value is required.", replaceWith = kotlin.ReplaceWith(expression = "toDouble(DurationUnit.HOURS)", imports = {})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public final val inHours: kotlin.Double { get; } |
| |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use inWholeMicroseconds property instead or convert toDouble(MICROSECONDS) if a double value is required.", replaceWith = kotlin.ReplaceWith(expression = "toDouble(DurationUnit.MICROSECONDS)", imports = {})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public final val inMicroseconds: kotlin.Double { get; } |
| |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use inWholeMilliseconds property instead or convert toDouble(MILLISECONDS) if a double value is required.", replaceWith = kotlin.ReplaceWith(expression = "toDouble(DurationUnit.MILLISECONDS)", imports = {})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public final val inMilliseconds: kotlin.Double { get; } |
| |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use inWholeMinutes property instead or convert toDouble(MINUTES) if a double value is required.", replaceWith = kotlin.ReplaceWith(expression = "toDouble(DurationUnit.MINUTES)", imports = {})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public final val inMinutes: kotlin.Double { get; } |
| |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use inWholeNanoseconds property instead or convert toDouble(NANOSECONDS) if a double value is required.", replaceWith = kotlin.ReplaceWith(expression = "toDouble(DurationUnit.NANOSECONDS)", imports = {})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public final val inNanoseconds: kotlin.Double { get; } |
| |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use inWholeSeconds property instead or convert toDouble(SECONDS) if a double value is required.", replaceWith = kotlin.ReplaceWith(expression = "toDouble(DurationUnit.SECONDS)", imports = {})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public final val inSeconds: kotlin.Double { get; } |
| |
| public final val inWholeDays: kotlin.Long { get; } |
| |
| public final val inWholeHours: kotlin.Long { get; } |
| |
| public final val inWholeMicroseconds: kotlin.Long { get; } |
| |
| public final val inWholeMilliseconds: kotlin.Long { get; } |
| |
| public final val inWholeMinutes: kotlin.Long { get; } |
| |
| public final val inWholeNanoseconds: kotlin.Long { get; } |
| |
| public final val inWholeSeconds: kotlin.Long { get; } |
| |
| public open override operator fun compareTo(other: kotlin.time.Duration): kotlin.Int |
| |
| public final operator fun div(scale: kotlin.Double): kotlin.time.Duration |
| |
| public final operator fun div(scale: kotlin.Int): kotlin.time.Duration |
| |
| public final operator fun div(other: kotlin.time.Duration): kotlin.Double |
| |
| public open override operator fun equals(other: kotlin.Any?): kotlin.Boolean |
| |
| public open override fun hashCode(): kotlin.Int |
| |
| public final fun isFinite(): kotlin.Boolean |
| |
| public final fun isInfinite(): kotlin.Boolean |
| |
| public final fun isNegative(): kotlin.Boolean |
| |
| public final fun isPositive(): kotlin.Boolean |
| |
| public final operator fun minus(other: kotlin.time.Duration): kotlin.time.Duration |
| |
| public final operator fun plus(other: kotlin.time.Duration): kotlin.time.Duration |
| |
| public final operator fun times(scale: kotlin.Double): kotlin.time.Duration |
| |
| public final operator fun times(scale: kotlin.Int): kotlin.time.Duration |
| |
| public final inline fun <T> toComponents(action: (days: kotlin.Long, hours: kotlin.Int, minutes: kotlin.Int, seconds: kotlin.Int, nanoseconds: kotlin.Int) -> T): T |
| |
| public final inline fun <T> toComponents(action: (hours: kotlin.Long, minutes: kotlin.Int, seconds: kotlin.Int, nanoseconds: kotlin.Int) -> T): T |
| |
| public final inline fun <T> toComponents(action: (minutes: kotlin.Long, seconds: kotlin.Int, nanoseconds: kotlin.Int) -> T): T |
| |
| public final inline fun <T> toComponents(action: (seconds: kotlin.Long, nanoseconds: kotlin.Int) -> T): T |
| |
| public final fun toDouble(unit: kotlin.time.DurationUnit): kotlin.Double |
| |
| public final fun toInt(unit: kotlin.time.DurationUnit): kotlin.Int |
| |
| public final fun toIsoString(): kotlin.String |
| |
| public final fun toLong(unit: kotlin.time.DurationUnit): kotlin.Long |
| |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use inWholeMilliseconds property instead.", replaceWith = kotlin.ReplaceWith(expression = "this.inWholeMilliseconds", imports = {})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public final fun toLongMilliseconds(): kotlin.Long |
| |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use inWholeNanoseconds property instead.", replaceWith = kotlin.ReplaceWith(expression = "this.inWholeNanoseconds", imports = {})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5") |
| public final fun toLongNanoseconds(): kotlin.Long |
| |
| public open override fun toString(): kotlin.String |
| |
| public final fun toString(unit: kotlin.time.DurationUnit, decimals: kotlin.Int = ...): kotlin.String |
| |
| public final operator fun unaryMinus(): kotlin.time.Duration |
| |
| public companion object of Duration { |
| public final val INFINITE: kotlin.time.Duration { get; } |
| |
| public final val ZERO: kotlin.time.Duration { get; } |
| |
| @kotlin.internal.InlineOnly |
| public final val kotlin.Double.days: kotlin.time.Duration { get; } |
| |
| @kotlin.internal.InlineOnly |
| public final val kotlin.Int.days: kotlin.time.Duration { get; } |
| |
| @kotlin.internal.InlineOnly |
| public final val kotlin.Long.days: kotlin.time.Duration { get; } |
| |
| @kotlin.internal.InlineOnly |
| public final val kotlin.Double.hours: kotlin.time.Duration { get; } |
| |
| @kotlin.internal.InlineOnly |
| public final val kotlin.Int.hours: kotlin.time.Duration { get; } |
| |
| @kotlin.internal.InlineOnly |
| public final val kotlin.Long.hours: kotlin.time.Duration { get; } |
| |
| @kotlin.internal.InlineOnly |
| public final val kotlin.Double.microseconds: kotlin.time.Duration { get; } |
| |
| @kotlin.internal.InlineOnly |
| public final val kotlin.Int.microseconds: kotlin.time.Duration { get; } |
| |
| @kotlin.internal.InlineOnly |
| public final val kotlin.Long.microseconds: kotlin.time.Duration { get; } |
| |
| @kotlin.internal.InlineOnly |
| public final val kotlin.Double.milliseconds: kotlin.time.Duration { get; } |
| |
| @kotlin.internal.InlineOnly |
| public final val kotlin.Int.milliseconds: kotlin.time.Duration { get; } |
| |
| @kotlin.internal.InlineOnly |
| public final val kotlin.Long.milliseconds: kotlin.time.Duration { get; } |
| |
| @kotlin.internal.InlineOnly |
| public final val kotlin.Double.minutes: kotlin.time.Duration { get; } |
| |
| @kotlin.internal.InlineOnly |
| public final val kotlin.Int.minutes: kotlin.time.Duration { get; } |
| |
| @kotlin.internal.InlineOnly |
| public final val kotlin.Long.minutes: kotlin.time.Duration { get; } |
| |
| @kotlin.internal.InlineOnly |
| public final val kotlin.Double.nanoseconds: kotlin.time.Duration { get; } |
| |
| @kotlin.internal.InlineOnly |
| public final val kotlin.Int.nanoseconds: kotlin.time.Duration { get; } |
| |
| @kotlin.internal.InlineOnly |
| public final val kotlin.Long.nanoseconds: kotlin.time.Duration { get; } |
| |
| @kotlin.internal.InlineOnly |
| public final val kotlin.Double.seconds: kotlin.time.Duration { get; } |
| |
| @kotlin.internal.InlineOnly |
| public final val kotlin.Int.seconds: kotlin.time.Duration { get; } |
| |
| @kotlin.internal.InlineOnly |
| public final val kotlin.Long.seconds: kotlin.time.Duration { get; } |
| |
| @kotlin.time.ExperimentalTime |
| public final fun convert(value: kotlin.Double, sourceUnit: kotlin.time.DurationUnit, targetUnit: kotlin.time.DurationUnit): kotlin.Double |
| |
| @kotlin.SinceKotlin(version = "1.5") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Double.days' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "value.days", imports = {"kotlin.time.Duration.Companion.days"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6") |
| public final fun days(value: kotlin.Double): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.5") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Int.days' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "value.days", imports = {"kotlin.time.Duration.Companion.days"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6") |
| public final fun days(value: kotlin.Int): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.5") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Long.days' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "value.days", imports = {"kotlin.time.Duration.Companion.days"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6") |
| public final fun days(value: kotlin.Long): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.5") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Double.hours' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "value.hours", imports = {"kotlin.time.Duration.Companion.hours"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6") |
| public final fun hours(value: kotlin.Double): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.5") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Int.hours' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "value.hours", imports = {"kotlin.time.Duration.Companion.hours"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6") |
| public final fun hours(value: kotlin.Int): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.5") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Long.hours' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "value.hours", imports = {"kotlin.time.Duration.Companion.hours"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6") |
| public final fun hours(value: kotlin.Long): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.5") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Double.microseconds' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "value.microseconds", imports = {"kotlin.time.Duration.Companion.microseconds"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6") |
| public final fun microseconds(value: kotlin.Double): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.5") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Int.microseconds' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "value.microseconds", imports = {"kotlin.time.Duration.Companion.microseconds"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6") |
| public final fun microseconds(value: kotlin.Int): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.5") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Long.microseconds' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "value.microseconds", imports = {"kotlin.time.Duration.Companion.microseconds"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6") |
| public final fun microseconds(value: kotlin.Long): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.5") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Double.milliseconds' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "value.milliseconds", imports = {"kotlin.time.Duration.Companion.milliseconds"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6") |
| public final fun milliseconds(value: kotlin.Double): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.5") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Int.milliseconds' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "value.milliseconds", imports = {"kotlin.time.Duration.Companion.milliseconds"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6") |
| public final fun milliseconds(value: kotlin.Int): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.5") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Long.milliseconds' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "value.milliseconds", imports = {"kotlin.time.Duration.Companion.milliseconds"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6") |
| public final fun milliseconds(value: kotlin.Long): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.5") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Double.minutes' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "value.minutes", imports = {"kotlin.time.Duration.Companion.minutes"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6") |
| public final fun minutes(value: kotlin.Double): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.5") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Int.minutes' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "value.minutes", imports = {"kotlin.time.Duration.Companion.minutes"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6") |
| public final fun minutes(value: kotlin.Int): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.5") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Long.minutes' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "value.minutes", imports = {"kotlin.time.Duration.Companion.minutes"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6") |
| public final fun minutes(value: kotlin.Long): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.5") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Double.nanoseconds' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "value.nanoseconds", imports = {"kotlin.time.Duration.Companion.nanoseconds"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6") |
| public final fun nanoseconds(value: kotlin.Double): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.5") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Int.nanoseconds' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "value.nanoseconds", imports = {"kotlin.time.Duration.Companion.nanoseconds"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6") |
| public final fun nanoseconds(value: kotlin.Int): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.5") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Long.nanoseconds' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "value.nanoseconds", imports = {"kotlin.time.Duration.Companion.nanoseconds"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6") |
| public final fun nanoseconds(value: kotlin.Long): kotlin.time.Duration |
| |
| public final fun parse(value: kotlin.String): kotlin.time.Duration |
| |
| public final fun parseIsoString(value: kotlin.String): kotlin.time.Duration |
| |
| public final fun parseIsoStringOrNull(value: kotlin.String): kotlin.time.Duration? |
| |
| public final fun parseOrNull(value: kotlin.String): kotlin.time.Duration? |
| |
| @kotlin.SinceKotlin(version = "1.5") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Double.seconds' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "value.seconds", imports = {"kotlin.time.Duration.Companion.seconds"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6") |
| public final fun seconds(value: kotlin.Double): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.5") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Int.seconds' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "value.seconds", imports = {"kotlin.time.Duration.Companion.seconds"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6") |
| public final fun seconds(value: kotlin.Int): kotlin.time.Duration |
| |
| @kotlin.SinceKotlin(version = "1.5") |
| @kotlin.time.ExperimentalTime |
| @kotlin.Deprecated(message = "Use 'Long.seconds' extension property from Duration.Companion instead.", replaceWith = kotlin.ReplaceWith(expression = "value.seconds", imports = {"kotlin.time.Duration.Companion.seconds"})) |
| @kotlin.DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6") |
| public final fun seconds(value: kotlin.Long): kotlin.time.Duration |
| } |
| } |
| |
| @kotlin.SinceKotlin(version = "1.6") |
| @kotlin.WasExperimental(markerClass = {kotlin.time.ExperimentalTime::class}) |
| public final enum class DurationUnit : kotlin.Enum<kotlin.time.DurationUnit> { |
| enum entry NANOSECONDS |
| |
| enum entry MICROSECONDS |
| |
| enum entry MILLISECONDS |
| |
| enum entry SECONDS |
| |
| enum entry MINUTES |
| |
| enum entry HOURS |
| |
| enum entry DAYS |
| } |
| |
| @kotlin.RequiresOptIn(level = Level.ERROR) |
| @kotlin.annotation.MustBeDocumented |
| @kotlin.annotation.Retention(value = AnnotationRetention.BINARY) |
| @kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CLASS, AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.PROPERTY, AnnotationTarget.FIELD, AnnotationTarget.LOCAL_VARIABLE, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.TYPEALIAS}) |
| @kotlin.SinceKotlin(version = "1.3") |
| public final annotation class ExperimentalTime : kotlin.Annotation { |
| public constructor ExperimentalTime() |
| } |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| public final class TestTimeSource : kotlin.time.AbstractLongTimeSource { |
| public constructor TestTimeSource() |
| |
| public final operator fun plusAssign(duration: kotlin.time.Duration): kotlin.Unit |
| |
| protected open override fun read(): kotlin.Long |
| } |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| public interface TimeMark { |
| public abstract fun elapsedNow(): kotlin.time.Duration |
| |
| public open fun hasNotPassedNow(): kotlin.Boolean |
| |
| public open fun hasPassedNow(): kotlin.Boolean |
| |
| public open operator fun minus(duration: kotlin.time.Duration): kotlin.time.TimeMark |
| |
| public open operator fun plus(duration: kotlin.time.Duration): kotlin.time.TimeMark |
| } |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| public interface TimeSource { |
| public abstract fun markNow(): kotlin.time.TimeMark |
| |
| public companion object of TimeSource { |
| } |
| |
| public object Monotonic : kotlin.time.TimeSource.WithComparableMarks { |
| public open override fun markNow(): kotlin.time.TimeSource.Monotonic.ValueTimeMark |
| |
| public open override fun toString(): kotlin.String |
| |
| @kotlin.time.ExperimentalTime |
| @kotlin.SinceKotlin(version = "1.7") |
| @kotlin.jvm.JvmInline |
| public final inline class ValueTimeMark : kotlin.time.ComparableTimeMark { |
| public final operator fun compareTo(other: kotlin.time.TimeSource.Monotonic.ValueTimeMark): kotlin.Int |
| |
| public open override fun elapsedNow(): kotlin.time.Duration |
| |
| public open override operator fun equals(other: kotlin.Any?): kotlin.Boolean |
| |
| public open override fun hasNotPassedNow(): kotlin.Boolean |
| |
| public open override fun hasPassedNow(): kotlin.Boolean |
| |
| public open override fun hashCode(): kotlin.Int |
| |
| public open override operator fun minus(other: kotlin.time.ComparableTimeMark): kotlin.time.Duration |
| |
| public open override operator fun minus(duration: kotlin.time.Duration): kotlin.time.TimeSource.Monotonic.ValueTimeMark |
| |
| public final operator fun minus(other: kotlin.time.TimeSource.Monotonic.ValueTimeMark): kotlin.time.Duration |
| |
| public open override operator fun plus(duration: kotlin.time.Duration): kotlin.time.TimeSource.Monotonic.ValueTimeMark |
| |
| public open override fun toString(): kotlin.String |
| } |
| } |
| |
| @kotlin.SinceKotlin(version = "1.8") |
| @kotlin.time.ExperimentalTime |
| public interface WithComparableMarks : kotlin.time.TimeSource { |
| public abstract override fun markNow(): kotlin.time.ComparableTimeMark |
| } |
| } |
| |
| @kotlin.SinceKotlin(version = "1.3") |
| @kotlin.time.ExperimentalTime |
| public final data class TimedValue<T> { |
| public constructor TimedValue<T>(value: T, duration: kotlin.time.Duration) |
| |
| public final val duration: kotlin.time.Duration { get; } |
| |
| public final val value: T { get; } |
| |
| public final operator fun component1(): T |
| |
| public final operator fun component2(): kotlin.time.Duration |
| |
| public final fun copy(value: T = ..., duration: kotlin.time.Duration = ...): kotlin.time.TimedValue<T> |
| |
| public open override operator fun equals(other: kotlin.Any?): kotlin.Boolean |
| |
| public open override fun hashCode(): kotlin.Int |
| |
| public open override fun toString(): kotlin.String |
| } |