Gets the total duration of the working time intervals between specified start and finish date and times (i.e. effort time for a task that starts and finishes on specified date and time, 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 TimeSpan GetEffort(
	DateTime start,
	DateTime finish
)
Visual Basic (Declaration)
Public Function GetEffort ( _
	start As DateTime, _
	finish As DateTime _
) As TimeSpan

Parameters

start
Type: System..::.DateTime
The start date and time of the working time intervals.
finish
Type: System..::.DateTime
The finish date and time of the working time intervals.

Return Value

The total duration of the working time intervals between specified start and finish date and times.

Implements

IGanttChartView..::.GetEffort(DateTime, DateTime)

See Also