Skip to main content
Table of Contents

TTMSFNCGanttWorkTime.IsWorkOrNotHoliday Method

Returns whether a date/time is either working time or not a holiday.

API unit family: TMSFNCGanttClasses Declaring type: TTMSFNCGanttWorkTime

Syntax

FMX.TMSFNCGanttClasses.hppPascalC++
function IsWorkOrNotHoliday(ADateTime: TDateTime): Boolean;
bool __fastcall IsWorkOrNotHoliday(System::TDateTime ADateTime);

Parameters

Name Description
ADateTime Date/time to test.

Returns

True when the date/time satisfies the work-day or holiday rule; otherwise False.