TimeInterval.Union(TimeInterval, TimeInterval) Method
In This Article
Returns a time interval which is composed of the two specified time intervals.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.dll
NuGet Package: DevExpress.Scheduler.Core
#Declaration
public static TimeInterval Union(
TimeInterval interval1,
TimeInterval interval2
)
#Parameters
Name | Type | Description |
---|---|---|
interval1 | Time |
A Time |
interval2 | Time |
A Time |
#Returns
Type | Description |
---|---|
Time |
A Time |
#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