Gets the minimum date and time greater or equal than the specified date and time that is considered as a nonworking time, determined based on the time not included in the working week and working day definitions, or included in 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 GetNextNonworkingTime(
	DateTime dateTime,
	Schedule schedule
)
Visual Basic (Declaration)
Public Function GetNextNonworkingTime ( _
	dateTime As DateTime, _
	schedule As Schedule _
) As DateTime

Parameters

dateTime
Type: System..::.DateTime
The date and time to get the next nonworking time for.
schedule
Type: DlhSoft.Windows.Data..::.Schedule
Optionally, a schedule object to use instead of the default working and nonworking time intervals.

Return Value

The minimum date and time greater or equal than the specified date and time that is considered as a nonworking time.

Implements

IGanttChartView..::.GetNextNonworkingTime(DateTime, Schedule)

See Also