TimeInterval.Union(TimeInterval, TimeInterval) Method
Returns a time interval which is composed of the two specified time intervals.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
interval1 | TimeInterval | A TimeInterval object which represents the first time interval to be united. |
interval2 | TimeInterval | A TimeInterval object which represents the second time interval to be united. |
Returns
Type | Description |
---|---|
TimeInterval | A TimeInterval object representing the union of the two time intervals. |
Remarks
The TimeInterval.Start of the returned TimeInterval is set to the TimeInterval.Start time of the time interval which starts first. The TimeInterval.End is set to the TimeInterval.End time of the time interval which ends last.
See Also