Table of Contents

TTMSFNCGanttWorkTime.GetNextWorkStartDateTime Method

Returns the next working start date/time.

API unit family: TMSFNCGanttClasses Declaring type: TTMSFNCGanttWorkTime

Syntax

function GetNextWorkStartDateTime(AStartDateTime: TDateTime; AForceNextDateTime: Boolean = False; AWorkTimePolicy: TTMSFNCGanttTaskWorkTimePolicy = whWorkTimeAndDays): TDateTime;

Parameters

Name Description
AStartDateTime Start date/time to search from.
AForceNextDateTime When True, the result must be later than the supplied date/time.
AWorkTimePolicy Policy that controls how working time and working days are applied.

Returns

The next working start date/time.