Skip to main content

OccurrenceCalculator Members

Enables you to calculate the occurrences for a given recurrent appointment.

Methods

Name Description
CalcLastOccurrenceIndex(Appointment) Calculates the index of the last element in the occurrence series.
CalcLastOccurrenceIndex(IRecurrenceInfo, TimeSpan)
CalcOccurrences(TimeInterval, Appointment) Creates a sequence of appointments for the specified pattern within the specified time interval.
CalcOccurrenceStartTime(Int32) Calculates the lowest boundary for the start time of the occurrence, with the specified index within the calculator’s chain.
CalcSequenceInterval(Appointment) Calculates the time interval occupied with the recurrent series.
CreateInstance(IRecurrenceInfo, TimeZoneInfo) static Creates an instance of the OccurrenceCalculator for the specified recurrence information and time zone.
CreateInstance(IRecurrenceInfo) static Creates an instance of the OccurrenceCalculator for the specified recurrence information.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FindFirstOccurrenceIndex(TimeInterval, Appointment) Searches for the first occurrence which corresponds to the pattern, and is located within the specified interval.
FindLastOccurrenceIndex(TimeInterval, Appointment) Searches for the last occurrence which corresponds to the pattern, and is located within the specified interval.
FindNextOccurrenceTimeAfter(DateTime, Appointment) Searches for the first occurrence which corresponds to the pattern, and starts after the specified time.
FindOccurrenceIndex(DateTime, Appointment) Searches for the occurrence which belongs to the pattern series and starts at the specified date.
FindOccurrenceIndex(DateTime) Searches for the occurrence that starts at the specified date.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
IsDstShifted(Int32) Gets whether the occurrence falls on the Daylight Saving Time shift.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also