Skip to main content
Table of Contents

TTMSFNCGanttTimeSpans.AddTimeSpan Method

Adds a working-time span with the specified start and end times.

API unit family: TMSFNCGanttClasses Declaring type: TTMSFNCGanttTimeSpans

Syntax

FMX.TMSFNCGanttClasses.hppPascalC++
function AddTimeSpan(AStartTime: TTime; AEndTime: TTime): TTMSFNCGanttTimeSpan; overload;
TTMSFNCGanttTimeSpan* __fastcall AddTimeSpan(System::TTime AStartTime, System::TTime AEndTime)/* overload */;

Parameters

Name Description
AStartTime Start time of the interval.
AEndTime End time of the interval.

Returns

The newly created time span.