次の方法で共有


LocalTimestampProvider class

Implements a local timestamp provider for testing purposes.

Remarks

This implementation does not derive from TimestampProvider class as it doesn't need to be started.

Constructors

LocalTimestampProvider(boolean)

Methods

getMaxTimestampError()
getTimestamp()

Constructor Details

LocalTimestampProvider(boolean)

new LocalTimestampProvider(noWarn?: boolean)

Parameters

noWarn

boolean

Method Details

getMaxTimestampError()

function getMaxTimestampError(): number

Returns

number

getTimestamp()

function getTimestamp(): number

Returns

number