Gets the finish date and time of a working time interval that starts at the specified date and time and has the specified total effort duration (possibly interrupted, and considering a single full time resource assignment), determined based on the working week and working day definitions, excluding the defined nonworking time intervals.

Namespace:  DlhSoft.Windows.Controls
Assembly:  DlhSoft.ProjectData.GanttChart.LightWPF.Controls (in DlhSoft.ProjectData.GanttChart.LightWPF.Controls.dll)

Syntax

C#
public DateTime GetFinish(
	DateTime start,
	TimeSpan effort,
	Schedule schedule
)
Visual Basic (Declaration)
Public Function GetFinish ( _
	start As DateTime, _
	effort As TimeSpan, _
	schedule As Schedule _
) As DateTime

Parameters

start
Type: System..::.DateTime
The start date and time of the working time interval.
effort
Type: System..::.TimeSpan
The total effort duration of the working time interval.
schedule
Type: DlhSoft.Windows.Data..::.Schedule
Optionally, a schedule object to use instead of the default working and nonworking time intervals.

Return Value

The finish date and time of the working time interval that starts at the specified date and time and has the specified total effort duration.

Implements

IGanttChartView..::.GetFinish(DateTime, TimeSpan, Schedule)

See Also