FastDuration

Analogous to Duration but doesn't allocate on the JS target. Important when used intensively in JS code. For example in KorGE.

Constructors

Link copied to clipboard
constructor(ms: Double)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Return true if Duration.NIL

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open operator override fun compareTo(other: FastDuration): Int
operator fun compareTo(other: Duration): Int
Link copied to clipboard
operator fun div(other: FastDuration): Double
operator fun div(scale: Double): FastDuration
inline operator fun div(scale: Number): FastDuration
operator fun div(other: Duration): Double
Link copied to clipboard
operator fun minus(that: FastDuration): FastDuration
operator fun minus(other: Duration): FastDuration
Link copied to clipboard
operator fun plus(that: FastDuration): FastDuration
operator fun plus(other: Duration): FastDuration
Link copied to clipboard
operator fun times(scale: Double): FastDuration
inline operator fun times(scale: Number): FastDuration
operator fun times(other: Duration): FastDuration
Link copied to clipboard
Link copied to clipboard
operator fun unaryMinus(): FastDuration
Link copied to clipboard
operator fun unaryPlus(): FastDuration