TimestampUtil
Defined in: types/timestamp.ts:12
TODO: Take out of types as it is not a type
Constructors
Constructor
ts
new TimestampUtil(): TimestampUtil;Returns
TimestampUtil
Methods
isValidAgainstNow()
ts
static isValidAgainstNow(timestamp): boolean;Defined in: types/timestamp.ts:18
Validate timestamp by its value against current timestamp
Parameters
| Parameter | Type | Description |
|---|---|---|
timestamp | number | Timestamp, that'll be checked |
Returns
boolean
- Returns true if Timestamp is greater than current Timestamp, otherwise false