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
Instant
Class Instant
Hierarchy
NanoTimeMeasurement
Instant
Implements
TimeMeasurement
Index
Constructors
constructor
Methods
as
JsDate
as
Milliseconds
as
Nanoseconds
from
Millis
from
Nanoseconds
Constructors
constructor
new
Instant
(
_nanos
:
Nanoseconds
)
:
Instant
Parameters
_nanos:
Nanoseconds
Returns
Instant
Methods
as
JsDate
as
JsDate
(
)
:
Date
Returns
Date
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
Instant
constructor
as
JsDate
as
Milliseconds
as
Nanoseconds
from
Millis
from
Nanoseconds
Generated using
TypeDoc