Class: Timestamp
Represents a Timestamp.
Implements
Constructors
constructor
• new Timestamp(properties?): Timestamp
Constructs a new Timestamp.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | ITimestamp | Properties to set |
Returns
Properties
nanos
• nanos: number
Timestamp nanos.
Implementation of
seconds
• seconds: Long
Timestamp seconds.
Implementation of
Methods
toJSON
▸ toJSON(): Object
Converts this Timestamp to JSON.
Returns
Object
JSON object