Search
Preparing search index...
The search index is not available
@btilford/ts-base - v1.1.0
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
EagerPeriod
Class EagerPeriod
Hierarchy
EagerDuration
EagerPeriod
Implements
TimeMeasurement
Duration
Period
Index
Constructors
constructor
Properties
from
to
Accessors
elapsed
Methods
as
Milliseconds
as
Nanoseconds
from
Millis
from
Nanoseconds
Constructors
constructor
new
Eager
Period
(
from
:
Instant
, to
:
Instant
)
:
EagerPeriod
Parameters
from:
Instant
to:
Instant
Returns
EagerPeriod
Properties
Readonly
from
from
:
Instant
Readonly
to
to
:
Instant
Accessors
elapsed
get
elapsed
(
)
:
TimeMeasurement
Returns
TimeMeasurement
Methods
as
Milliseconds
as
Milliseconds
(
truncate
?:
boolean
)
:
Milliseconds
Parameters
Default value
truncate:
boolean
= false
Returns
Milliseconds
as
Nanoseconds
as
Nanoseconds
(
)
:
Nanoseconds
Returns
Nanoseconds
Static
from
Millis
from
Millis
(
millis
:
number
)
:
TimeMeasurement
Parameters
millis:
number
Returns
TimeMeasurement
Static
from
Nanoseconds
from
Nanoseconds
(
nanos
:
Nanoseconds
)
:
TimeMeasurement
Parameters
nanos:
Nanoseconds
Returns
TimeMeasurement
Globals
Eager
Period
constructor
from
to
elapsed
as
Milliseconds
as
Nanoseconds
from
Millis
from
Nanoseconds
Generated using
TypeDoc