enum Duration
case Duration(Int64)
Represents a duration.
@Experimental
def fromMicroSeconds(n: Int32): Duration
Returns a duration of n micro seconds.
n
def fromMilliSeconds(n: Int32): Duration
Returns a duration of n milli seconds.
def fromNanoSeconds(n: Int32): Duration
Returns a duration of n nano seconds.
def fromSeconds(n: Int32): Duration
Returns a duration of n seconds.