TTMSFNCGanttWorkTime.IsWorkOrNotHoliday Method
Returns whether a date/time is either working time or not a holiday.
API unit family: TMSFNCGanttClasses
Declaring type: TTMSFNCGanttWorkTime
Syntax
function IsWorkOrNotHoliday(ADateTime: TDateTime): Boolean;
Parameters
| Name | Description |
|---|---|
ADateTime |
Date/time to test. |
Returns
True when the date/time satisfies the work-day or holiday rule; otherwise False.