Skip to main content

TcxSchedulerTimeRanges.Add(TDateTime,TDateTime) Method

Creates a new TcxSchedulerTimeRange instance and adds it to the TcxSchedulerTimeRanges collection.

Declaration

function Add(const AStart: TDateTime; const AFinish: TDateTime): TcxSchedulerTimeRange;

Parameters

Name Type
AStart TDateTime
AFinish TDateTime

Returns

Type
TcxSchedulerTimeRange

Remarks

The TcxSchedulerTimeRange object represents the current free time block which can be used to schedule the non-intersecting user event.

The Add method returns the newly created TcxSchedulerTimeRange instance.

The AStart and AFinish parameters specify the start and end times of the current time block, respectively.

See Also