Skip to main content

TdxGanttControlCalendars.CreateNightCalendar Method

Creates a new “Night Shift” calendar and appends it to the collection.

Declaration

function CreateNightCalendar: TdxGanttControlCalendar; virtual;

Returns

Type
TdxGanttControlCalendar

Remarks

In this calendar, a day continues from 11 PM to 8 AM, includes a one-hour break at 3 AM and a workweek starts on Monday and finishes on Saturday.

This function returns the new calendar added to the end of the collection. You can call the Remove procedure to remove a calendar from the collection.

See Also