Return type | Name and parameters |
---|---|
Timestamp
|
minus(int days)
Subtract a number of days from this Timestamp and returns the new Timestamp object. |
Timestamp
|
plus(int days)
Add number of days to this Timestamp and returns the new Timestamp object. |
clearTime
, copyWith
, downto
, format
, format
, getAt
, getDateString
, getDateTimeString
, getTimeString
, minus
, minus
, next
, plus
, previous
, putAt
, set
, toCalendar
, toTimestamp
, updated
, upto
Subtract a number of days from this Timestamp and returns the new Timestamp object.
days
- the number of days to subtractAdd number of days to this Timestamp and returns the new Timestamp object.
days
- the number of days to increase