Timestamp
Hierarchy
- TinyType
- Timestamp
Index
Constructors
constructor
Parameters
value: Date = ...
Returns Timestamp
Properties
publicreadonlyvalue
Methods
staticfromJSON
Parameters
v: string
Returns Timestamp
staticfromTimestampInSeconds
Parameters
value: number
Returns Timestamp
staticfromTimestampInMilliseconds
Parameters
value: number
Returns Timestamp
staticnow
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
toISOString
Returns string
toString
Returns string
[custom]
Returns string
Represents a point in time.
Timestamp
makes it easier for you to work with information related to time, like domain events.Learn more