TimeInterval(DateTime, TimeSpan) Constructor
Initializes a new instance of the TimeInterval class with the specified start date and duration.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
start | DateTime | A DateTime value that specifies the start date of the interval. This value is assigned to the TimeInterval.Start property. |
duration | TimeSpan | A TimeSpan value that specifies the duration of the interval. This value is assigned to the TimeInterval.Duration property. |
Remarks
Note that the duration.Ticks should be greater than or equal to 0.
See Also