Time

open class Time(val suffix: String, val ratio: Double = 1.0) : Units(source)

Units to measure time durations.

Constructors

Link copied to clipboard
constructor(suffix: String, ratio: Double = 1.0)

Types

Link copied to clipboard
object Companion

Inherited properties

Link copied to clipboard
val ratio: Double = 1.0
Link copied to clipboard

Functions

Link copied to clipboard
operator fun div(other: Time): Double

Inherited functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
operator fun Time.times(other: Length): UnitsProduct<Length, Time>

Sort Length before Time which is conventional.

Link copied to clipboard
open override fun toString(): String