Click or drag to resize

PhaseFunctionsCalculateDueDate Method

Calculate next dueDate for a phase based on phase durations.

Namespace: Scanjour.Workflow4.ActivityLibrary.Phases
Assembly: Scanjour.Workflow4.ActivityLibrary_24.5.0.0 (in Scanjour.Workflow4.ActivityLibrary_24.5.0.0.dll) Version: 24.5.0.0 (24.5.0.0)
Syntax
public static DateTime CalculateDueDate(
	int phaseNumber,
	List<TimeSpan> phaseDurations,
	List<DateTime?> phaseDueDates,
	DateTime now,
	DateTime endDate
)

Parameters

phaseNumber  Int32
The phase number.
phaseDurations  ListTimeSpan
The durations for the phases.
phaseDueDates  ListNullableDateTime
The due dates for the phases.
now  DateTime
The current time to calculate the due date from.
endDate  DateTime
The end date of the workflow.

Return Value

DateTime
The phase due date.
See Also