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;
System::TDateTime __fastcall GetNextWorkStartDateTime(System::TDateTime AStartDateTime, bool AForceNextDateTime = false, TTMSFNCGanttTaskWorkTimePolicy AWorkTimePolicy = (TTMSFNCGanttTaskWorkTimePolicy)(0x0));
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.