Skip to main content

TcxSchedulerEvent.GetOccurrence(TDateTime) Method

Returns the recurring user event’s occurrence by the ADate.

Declaration

function GetOccurrence(ADate: TDateTime): TcxSchedulerEvent;

Parameters

Name Type
ADate TDateTime

Returns

Type
TcxSchedulerEvent

Remarks

This function returns the occurrence of any type whether it is a regular occurrence (the etOccurrence type), a custom (the etCustom type) or an exception in the series (the etException type).

The ADate parameter specifies the date which the occurrence was scheduled for.

See Also