Skip to main content

OccurrenceCalculator Methods

Allows you to compute parameters of a specific occurrence in an occurrence chain.
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 with the specified recurrence information and time zone.
CreateInstance(IRecurrenceInfo) static Initializes a new OccurrenceCalculator instance with the specified recurrence information.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from System.Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from System.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 System.Object.
GetType() Gets the Type of the current instance. Inherited from System.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 System.Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from System.Object.
ToString() Returns a string that represents the current object. Inherited from System.Object.
See Also