increaseSequence

Increases the event's SEQUENCE, if necessary. Usually called after an event is retrieved from the calendar provider, but before it's mapped to an iCalendar.

Return

updated sequence (or null if sequence was not increased/modified)

Parameters

main

event to be checked (will be modified when SEQUENCE needs to be increased)