Gets the minimum date and time greater or equal than the specified date and time that is visible in the chart and considered as a working time, determined based on the visible week and visible day definitions, and working week and working day definitions, excluding the defined nonworking time intervals.
If the resulting date and time cannot be less than TimelinePageFinish, then TimelinePageFinish is returned.
Namespace:
DlhSoft.Windows.ControlsAssembly: DlhSoft.ProjectData.GanttChart.LightWPF.Controls (in DlhSoft.ProjectData.GanttChart.LightWPF.Controls.dll)
Syntax
C# |
---|
public DateTime GetNextVisibleWorkingTime( DateTime dateTime, Schedule schedule ) |
Visual Basic (Declaration) |
---|
Public Function GetNextVisibleWorkingTime ( _ dateTime As DateTime, _ schedule As Schedule _ ) As DateTime |
Parameters
- dateTime
- Type: System..::.DateTime
The date and time to get the next visible working time for.
- schedule
- Type: DlhSoft.Windows.Data..::.Schedule
Optionally, a schedule object to use instead of the default working and nonworking time intervals.