Initializes a new instance of the TimeInterval structure.
Namespace:
DlhSoft.Windows.DataAssembly: DlhSoft.ProjectData.GanttChart.ASP.Controls (in DlhSoft.ProjectData.GanttChart.ASP.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
Start date and time of the time interval.
- duration
- Type: System..::.TimeSpan
Duration of the time interval.