Skip to main content

TcxSchedulerHolidays.AddHoliday(string,string,TDateTime) Method

Adds a holiday to the TcxSchedulerHolidays component and returns a reference to this holiday.

Declaration

function AddHoliday(const ALocationName: string; const AHolidayName: string; const ADate: TDateTime): TcxSchedulerHolidaysLocationHoliday;

Parameters

Name Type
ALocationName string
AHolidayName string
ADate TDateTime

Returns

Type
TcxSchedulerHolidaysLocationHoliday

Remarks

ALocationName specifies the name of a location whose holiday is to be added to the component.

AHolidayName specifies the holiday name.

ADate specifies the holiday date.

See Also