Initializes a new TimeInterval instance.
Namespace:
DlhSoft.Windows.Data
Assembly:
DlhSoft.ProjectData.GanttChart.LightWPF.Controls (in DlhSoft.ProjectData.GanttChart.LightWPF.Controls.dll)
Syntax
C# |
---|
public TimeInterval( DateTime start, TimeSpan duration ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ start As DateTime, _ duration As TimeSpan _ ) |
Parameters
- start
- Type: System..::.DateTime
The start date and time of the new interval.
- duration
- Type: System..::.TimeSpan
The time span of the new interval.