Iterates the working time intervals between specified start and finish date and times, 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 IEnumerable<TimeInterval> GetWorkingTimeIntervals(
	DateTime start,
	DateTime finish
)
Visual Basic (Declaration)
Public Function GetWorkingTimeIntervals ( _
	start As DateTime, _
	finish As DateTime _
) As IEnumerable(Of TimeInterval)

Parameters

start
Type: System..::.DateTime
The date and time to iterate from.
finish
Type: System..::.DateTime
The date and time to iterate to.

Return Value

The working time intervals between specified start and finish date and times.

Implements

IGanttChartView..::.GetWorkingTimeIntervals(DateTime, DateTime)

See Also