NetworkTimestamp⚓︎
- NetworkTimestamp
- Represents a Symbol network timestamp with millisecond resolution.
Extends⚓︎
Constructors⚓︎
new NetworkTimestamp()⚓︎
Creates a timestamp.
Parameters⚓︎
| Parameter | Type | Description |
|---|---|---|
timestamp |
number | bigint |
Raw network timestamp. |
Returns⚓︎
NetworkTimestamp
Inherited from⚓︎
Properties⚓︎
| Property | Type | Description | Inherited from |
|---|---|---|---|
timestamp |
bigint |
Underlying timestamp. | NetworkTimestamp.timestamp |
Accessors⚓︎
isEpochal⚓︎
Get Signature⚓︎
- NetworkTimestamp.isEpochal
- Determines if this is the epochal timestamp.
Returns⚓︎
boolean
\c true if this is the epochal timestamp.
Inherited from⚓︎
Methods⚓︎
addHours()⚓︎
- NetworkTimestamp.addHours
- Adds a specified number of hours to this timestamp.
Parameters⚓︎
| Parameter | Type | Description |
|---|---|---|
count |
number | bigint |
Number of hours to add. |
Returns⚓︎
New timestamp that is the specified number of hours past this timestamp.
Inherited from⚓︎
addMilliseconds()⚓︎
- NetworkTimestamp.addMilliseconds
- Adds a specified number of milliseconds to this timestamp.
Parameters⚓︎
| Parameter | Type | Description |
|---|---|---|
count |
number | bigint |
Number of milliseconds to add. |
Returns⚓︎
NetworkTimestamp
New timestamp that is the specified number of milliseconds past this timestamp.
addMinutes()⚓︎
- NetworkTimestamp.addMinutes
- Adds a specified number of minutes to this timestamp.
Parameters⚓︎
| Parameter | Type | Description |
|---|---|---|
count |
number | bigint |
Number of minutes to add. |
Returns⚓︎
New timestamp that is the specified number of minutes past this timestamp.
Inherited from⚓︎
addSeconds()⚓︎
- NetworkTimestamp.addSeconds
- Adds a specified number of seconds to this timestamp.
Parameters⚓︎
| Parameter | Type | Description |
|---|---|---|
count |
number | bigint |
Number of seconds to add. |
Returns⚓︎
NetworkTimestamp
New timestamp that is the specified number of seconds past this timestamp.
Overrides⚓︎
toString()⚓︎
- NetworkTimestamp.toString
- Returns string representation of this object.
Returns⚓︎
string
String representation of this object