Creates a new instance of the schedule object.

Namespace:  DlhSoft.Windows.Data
Assembly:  DlhSoft.ProjectData.Core (in DlhSoft.ProjectData.Core.dll)

Syntax

C#
public Schedule(
	DayOfWeek workingWeekStart,
	DayOfWeek workingWeekFinish,
	TimeOfDay workingDayStart,
	TimeOfDay workingDayFinish,
	IEnumerable<TimeInterval> nonworkingIntervals,
	NonworkingDayIntervalProvider nonworkingDayIntervalProvider
)
Visual Basic (Declaration)
Public Sub New ( _
	workingWeekStart As DayOfWeek, _
	workingWeekFinish As DayOfWeek, _
	workingDayStart As TimeOfDay, _
	workingDayFinish As TimeOfDay, _
	nonworkingIntervals As IEnumerable(Of TimeInterval), _
	nonworkingDayIntervalProvider As NonworkingDayIntervalProvider _
)

Parameters

workingWeekStart
Type: System..::..DayOfWeek
Working week start day.
workingWeekFinish
Type: System..::..DayOfWeek
Working week finish day.
workingDayStart
Type: DlhSoft.Windows.Data..::..TimeOfDay
Working day start time.
workingDayFinish
Type: DlhSoft.Windows.Data..::..TimeOfDay
Working day finish time.
nonworkingIntervals
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'TimeInterval>)>)>
Optional enumeration of generic nonworking intervals to be considered.
nonworkingDayIntervalProvider
Type: DlhSoft.Windows.Data..::..NonworkingDayIntervalProvider
Optional method used to retreive supplemental nonworking day time intervals to be considered for any specific date passed in as the method parameter.

See Also