Gets the next valid working time for a specified date and time based on the current schedule object considering a suite of preferred schedules that must be resolved.

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

Syntax

C#
public DateTime GetNextWorkTime(
	DateTime dateTime,
	Schedule[] schedules
)
Visual Basic (Declaration)
Public Function GetNextWorkTime ( _
	dateTime As DateTime, _
	schedules As Schedule() _
) As DateTime

Parameters

dateTime
Type: System..::.DateTime
Date and time to get the next valid working time for.
schedules
Type: array< DlhSoft.Windows.Data..::.Schedule >[]()[]
The preferred work schedules to resolve.

Return Value

The next valid working time based for the specified date and time based on the current schedule object considering the suite of preferred schedules that must be resolved.

See Also