TekartikSembastTimestampExt extension

Timestamp extension

on

Methods

addDuration(Duration duration) Timestamp
Add a duration to a timestamp
difference(Timestamp other) Duration
Returns a Duration with the difference when subtracting other from this DateTime.
substractDuration(Duration duration) Timestamp
Substract a duration to a timestamp