# Method Calendar.Event.Event()->next()

Method next

  `Calendar.TimeRanges.TimeRange next(void|Calendar.TimeRanges.TimeRange from, void|bool including)`
  `Calendar.TimeRanges.TimeRange previous(void|Calendar.TimeRanges.TimeRange from, void|bool including)`

Description

  This calculates the next or previous occurance of the event, from the given timerange's start, including any event occuring at the start if that flag is set.

  It returns zero if there is no next event.

  These methods are virtual in the base class.