Time.Duration

enum DurationSource
case Duration(Int64)

Represents a duration.

Definitions

@Experimental
def fromMicroSeconds(n: Int32): Duration Source

Returns a duration of n micro seconds.

@Experimental
def fromMilliSeconds(n: Int32): Duration Source

Returns a duration of n milli seconds.

@Experimental
def fromNanoSeconds(n: Int32): Duration Source

Returns a duration of n nano seconds.

@Experimental
def fromSeconds(n: Int32): Duration Source

Returns a duration of n seconds.