Skip to main content
Table of Contents

TTMSFNCGanttHolidays.IsHoliday Method

Returns whether the specified date/time falls inside a holiday range.

API unit family: TMSFNCGanttClasses Declaring type: TTMSFNCGanttHolidays

Syntax

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

Parameters

Name Description
ADateTime Date/time to test.

Returns

True when the date/time is a holiday; otherwise False.