Skip to content

nooschain v0.1.0


nooschain / time/clock / SystemClock

Class: SystemClock

Defined in: time/clock.ts:19

Clock implementation backed by the host system clock.

Implements

Constructors

Constructor

new SystemClock(): SystemClock

Returns

SystemClock

Methods

now()

now(): Date

Defined in: time/clock.ts:21

Returns a fresh Date from the host system clock.

Returns

Date

Implementation of

Clock.now


nowIso()

nowIso(): string

Defined in: time/clock.ts:31

Returns the host system time as an ISO timestamp.

Returns

string

Implementation of

Clock.nowIso


nowMs()

nowMs(): number

Defined in: time/clock.ts:26

Returns epoch milliseconds from the host system clock.

Returns

number

Implementation of

Clock.nowMs

Audience-first NOOSChain documentation.