Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

OccurrenceCalculator Methods
Show Inherited Hide Inherited

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