rollDayOfMonth()
Adds the specified (signed) amount to the Day of
Month
field, without changing larger fields.
Syntax
Calendar rollDayOfMonth(Numeric amount)
- amount is the signed amount to add to the
Day of Month
field.
Usage
For example, to roll the current date up by one day, you can achieve it by calling
rollDayOfMonth(1)
.