Skip to main content

OccurrenceCalculator Members

The calculator that allows you to compute parameters of a specific occurrence in an occurrence chain.

Methods

Name Description
CalcOccurrenceStartTime(Int32) Calculates the lowest boundary for the start time of the occurrence, with the specified index within the occurrence chain.
CreateInstance(IRecurrenceInfo, TimeZoneInfo) static Initializes a new OccurrenceCalculator instance by the specified recurrence information and time zone.
CreateInstance(IRecurrenceInfo) static Initializes a new OccurrenceCalculator instance by 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(DateTimeRange, TimeSpan) Searches for the first occurrence that is within the specified interval and corresponds to the calculator’s pattern.
FindOccurrenceIndex(DateTime, TimeSpan) Searches for the occurrence that starts at the specified date and corresponds to the calculator’s pattern.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
IsDstShifted(Int32) Checks whether the occurrence with the specified index 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