Gets the next valid working time for a specified date and time based on the current schedule object.

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

Syntax

C#
public DateTime GetNextWorkTime(
	DateTime dateTime,
	bool isIntervalEndAccepted
)
Visual Basic (Declaration)
Public Function GetNextWorkTime ( _
	dateTime As DateTime, _
	isIntervalEndAccepted As Boolean _
) As DateTime

Parameters

dateTime
Type: System..::.DateTime
Date and time to get the next valid working time for.
isIntervalEndAccepted
Type: System..::.Boolean
Indicates whether or not to accept an interval end as a valid time to be returned.

Return Value

The next valid working time based for the specified date and time based on the current schedule object.

See Also