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

Event::moveDates

Will move an event’s start and end dates by a specific period of time.

event.moveDates( delta )

delta is a Duration or something that will parse into a Duration.

If there are other events that share the same groupId, those events’ dates will be similarly modified.