Initializes a new instance of the TimeInterval structure.

Namespace:  DlhSoft.Windows.Data
Assembly:  DlhSoft.ProjectData.GanttChart.Mvc.Extensions (in DlhSoft.ProjectData.GanttChart.Mvc.Extensions.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.

See Also