TimeInterval(DateTime, DateTime) Constructor
Initializes a new instance of the TimeInterval class with the specified start date and end date.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.1.Core.dll
NuGet Package: DevExpress.Scheduler.Core
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. |
end | DateTime | A DateTime value that specifies the end date of the interval. This value is assigned to the TimeInterval.End property. |
Remarks
Note that the end parameter’s value should be greater than or equal to the start parameter’s value, otherwise an exception will be thrown.
See Also