Fires2REST - v0.3.0
GitHub
NPM
Preparing search index...
Timestamp
Class Timestamp
Represents a Firestore timestamp with nanosecond precision.
Index
Constructors
constructor
Properties
nanoseconds
seconds
Methods
is
Equal
to
Date
to
Millis
from
Date
from
Millis
now
Constructors
constructor
new
Timestamp
(
seconds
:
number
,
nanoseconds
:
number
)
:
Timestamp
Parameters
seconds
:
number
nanoseconds
:
number
Returns
Timestamp
Properties
Readonly
nanoseconds
nanoseconds
:
number
Readonly
seconds
seconds
:
number
Methods
is
Equal
isEqual
(
other
:
Timestamp
)
:
boolean
Parameters
other
:
Timestamp
Returns
boolean
to
Date
toDate
()
:
Date
Returns
Date
to
Millis
toMillis
()
:
number
Returns
number
Static
from
Date
fromDate
(
date
:
Date
)
:
Timestamp
Parameters
date
:
Date
Returns
Timestamp
Static
from
Millis
fromMillis
(
milliseconds
:
number
)
:
Timestamp
Parameters
milliseconds
:
number
Returns
Timestamp
Static
now
now
()
:
Timestamp
Returns
Timestamp
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
nanoseconds
seconds
Methods
is
Equal
to
Date
to
Millis
from
Date
from
Millis
now
GitHub
NPM
Fires2REST - v0.3.0
Loading...
Represents a Firestore timestamp with nanosecond precision.