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