These docs are for an old release. Info on upgrading to v6
edit doc

Calendar::incrementDate

Moves the calendar forward/backward an arbitrary amount of time.

calendar.incrementDate( duration )

duration can be a Duration object or anything the Duration constructor accepts.