TTMSFNCGanttWorkTime.GetActualEndDateTime Method
Returns the adjusted end date/time after applying a duration and work-time policy.
API unit family: TMSFNCGanttClasses
Declaring type: TTMSFNCGanttWorkTime
Syntax
function GetActualEndDateTime(ADateTime: TDateTime; ADuration: TTMSFNCGanttDuration; AWorkTimePolicy: TTMSFNCGanttTaskWorkTimePolicy = whWorkTimeAndDays): TDateTime;
Parameters
| Name | Description |
|---|---|
ADateTime |
Requested start date/time. |
ADuration |
Duration to add. |
AWorkTimePolicy |
Policy that controls how working time and working days are applied. |
Returns
The calculated end date/time.