TcxSchedulerOccurrenceCalculator Class
The TcxSchedulerOccurrenceCalculator class provides functionality for examining occurrences.
Declaration
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