TimeInterval.Intersect(TimeInterval) Method
Returns a time interval which is the intersection of the current time interval with the specified time interval.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.dll
NuGet Package: DevExpress.Scheduler.Core
#Declaration
public TimeInterval Intersect(
TimeInterval interval
)
#Parameters
Name | Type | Description |
---|---|---|
interval | 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 last. The TimeInterval.End is set to the TimeInterval.End time of the time interval which ends first.