Skip to main content
clocks.TimeRange Positive half-open support; examination is a separate assertion.

Type parameters

Constructors

constructor

• new TimeRange<Name>(clock, from, to)

Type parameters

Parameters

Properties

from

• Readonly from: Readonly<{ numerator: bigint ; denominator: bigint }>

to

• Readonly to: Readonly<{ numerator: bigint ; denominator: bigint }>

clock

• Readonly clock: Clock<Name>

Methods

wire

▸ wire(): Object

Returns

Object

fromWire

▸ Static fromWire(value): TimeRange

Parameters

Returns

TimeRange