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

TcxSchedulerOccurrenceCalculator Class

The TcxSchedulerOccurrenceCalculator class provides functionality for examining occurrences.

#Declaration

Delphi
TcxSchedulerOccurrenceCalculator = class(
    TcxSchedulerRecurrenceCalculator
)

#Remarks

To specify the time boundaries for the range of reoccurrences to be examined and which recurring user event will be examined use the overloaded Create method. For the purposes of examining and calculating the parameters of the occurrences in the time chain the TcxSchedulerOccurrenceCalculator class provides the following methods:

  • CalcOccurrence – calculates the start and end time of the occurrence identified by the AIndex parameter.

  • GetNextOccurrence – calculates the start and end time of the first occurrence found in the chain of occurrences.

  • GetOccurrenceCount – counts the number of occurrences up to the date specified by the AEndDate parameter.

#Inheritance

TObject
TcxSchedulerRecurrenceCalculator
TcxSchedulerOccurrenceCalculator
See Also