TTMSFNCGanttWorkTime.GetPreviousWorkEndDateTime Method
Returns the previous working end date/time.
API unit family: TMSFNCGanttClasses
Declaring type: TTMSFNCGanttWorkTime
Syntax
function GetPreviousWorkEndDateTime(AEndDateTime: TDateTime; AWorkTimePolicy: TTMSFNCGanttTaskWorkTimePolicy = whWorkTimeAndDays; AForceOlderDateTime: Boolean = False): TDateTime;
Parameters
| Name | Description |
|---|---|
AEndDateTime |
End date/time to search from. |
AWorkTimePolicy |
Policy that controls how working time and working days are applied. |
AForceOlderDateTime |
When True, the result must be earlier than the supplied date/time. |
Returns
The previous working end date/time.