Time

Interface for time representation.

Types

Link copied to clipboard
object Companion

Standard values for Time.

Properties

Link copied to clipboard

Verifies if the Time is set at infinite, namely if the event will never happen.

Functions

Link copied to clipboard
abstract operator fun compareTo(other: Time): Int
Link copied to clipboard
abstract operator fun minus(other: Time): Time

Allows to subtract a Time to this Time.

Link copied to clipboard
abstract operator fun plus(other: Time): Time

Allows to add a Time to this Time.

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

Allows to multiply this Time for a constant.

Link copied to clipboard
abstract fun toDouble(): Double

Allows to get a double representation of this Time.