commonMain.measurement.TemporalMeasurement.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fluid-time-iosarm64 Show documentation
Show all versions of fluid-time-iosarm64 Show documentation
multiplatform date & time library
The newest version!
package com.github.fluidsonic.fluid.time
interface TemporalMeasurement> : Comparable {
val absolute: Measurement
val isNegative: Boolean
val isZero: Boolean
operator fun div(other: Int): Measurement
operator fun div(other: Long): Measurement
operator fun div(other: Measurement): Long
operator fun minus(other: Measurement): Measurement
operator fun plus(other: Measurement): Measurement
operator fun rem(other: Int): Measurement
operator fun rem(other: Long): Measurement
operator fun rem(other: Measurement): Measurement
operator fun times(other: Int): Measurement
operator fun times(other: Long): Measurement
operator fun unaryMinus(): Measurement
companion object
interface CompanionInterface> {
val max: Measurement
val min: Measurement
val zero: Measurement
}
interface LongBased> : TemporalMeasurement {
fun map(transform: (Long) -> Long): Measurement
fun toInt(): Int
fun toLong(): Long
}
}