Timestamp
Hierarchy
- TinyType
- Timestamp
Index
Methods
staticfromJSON
Parameters
v: string
Returns Timestamp
staticfromTimestampInSeconds
Parameters
v: number
Returns Timestamp
staticfromTimestampInMilliseconds
Parameters
v: number
Returns Timestamp
externalequals
Parameters
externalanother: TinyType
Returns boolean
diff
plus
less
isBefore
Parameters
another: Timestamp
Returns boolean
isBeforeOrEqual
Parameters
another: Timestamp
Returns boolean
isAfter
Parameters
another: Timestamp
Returns boolean
isAfterOrEqual
Parameters
another: Timestamp
Returns boolean
toMilliseconds
Returns number
toSeconds
Returns number
toJSON
Returns string
toString
Returns string
Constructors
constructor
Parameters
value: Date = ...
Returns Timestamp
Represents a point in time.
Timestamp
makes it easier for Serenity/JS to work with information related to time, like domain events.Learn more