Table of Contents

TTMSFNCGanttTimeSpans.IsInWorkingHours Method

Returns whether the specified date/time is inside a configured working interval.

API unit family: TMSFNCGanttClasses Declaring type: TTMSFNCGanttTimeSpans

Syntax

function IsInWorkingHours(ADateTime: TDateTime): Boolean;

Parameters

Name Description
ADateTime Date/time to test.

Returns

True when the date/time is within working hours; otherwise False.