TcxSchedulerOccurrenceCalculator.GetOccurrenceCount(TDateTime) Method
Returns a count of the total number of occurrences up to the AEndDate date.
Declaration
function GetOccurrenceCount(AEndDate: TDateTime): Integer;
Parameters
Name | Type |
---|---|
AEndDate | TDateTime |
Returns
Type |
---|
Integer |
Remarks
The GetOccurrenceCount method counts the number of occurrences from the first occurrence up to the specified end date that have been spawned from the given recurring user event (see the Event property). The occurrences that are represented in the chain of occurrences can be of any type – regular occurrences, custom occurrences or exceptions.
The AEndDate parameter specifies the date up to which the occurrences will be counted.
Note
this method gets a count of the occurrences depending upon the Recurrence pattern specified for the given recurring user event, and the AEndDate date.
See Also