code: function getNextOccurrence(aStartTime, aRecurrenceId) {
        var iter = this.iterator(aStartTime);
        var next, cdt;
  
        do {
          next = iter.next();
        } while (next && next.compare(aRecurrenceId) <= 0);
  
        if (next && aRecurrenceId.zone) {
          next.zone = aRecurrenceId.zone;
        }
  
        return next;
      }
docs: Retrieves the next occurrence after the given recurrence id. See the
  guide on {@tutorial terminology} for more details.
  
  NOTE: Currently, this method iterates all occurrences from the start
  date. It should not be called in a loop for performance reasons. If you
  would like to get more than one occurrence, you can iterate the
  occurrences manually, see the example on the
  {@link ICAL.Recur#iterator iterator} method.
  
  @param {ICAL.Time} aStartTime        The start of the event series
  @param {ICAL.Time} aRecurrenceId     The date of the last occurrence
  @return {ICAL.Time}                  The next occurrence after