Skip to main content
Table of Contents

TTMSFNCGanttTimeSpan.InTimeSpan Method

Returns whether the specified date/time falls within the time span.

API unit family: TMSFNCGanttClasses Declaring type: TTMSFNCGanttTimeSpan

Syntax

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

Parameters

Name Description
ADateTime Date/time to test.

Returns

True when the time portion is inside the span; otherwise False.