Returns the time interval that encompasses occurrences of the specified pattern appointment.
public static TimeInterval CalcPatternInterval( Appointment pattern )
Public Shared Function CalcPatternInterval( pattern As Appointment ) As TimeInterval
An Appointment object that specifies the pattern appointment whose recurrence range is used for calculations.
A TimeInterval object that is the time interval in which recurring appointments are located.
The start and end dates of a returned time interval may differ from the dates specified in the RecurrenceInfo.Start and RecurrenceInfo.End properties of the pattern's Appointment.RecurrenceInfo. The CalcPatternInterval method takes into account all appointments which belong to the series originating from the pattern, including exceptions. An exception may occupy a time interval outside the range specified for the recurrence pattern.