TimeSpanRange.Intersect(TimeSpanRange, TimeSpanRange) Method
In This Article
Computes the intersection of the specified ranges.
Namespace: DevExpress.XamarinForms.Scheduler
Assembly: DevExpress.XamarinForms.Scheduler.dll
NuGet Package: DevExpress.XamarinForms.Scheduler
#Declaration
C#
public static TimeSpanRange Intersect(
TimeSpanRange x,
TimeSpanRange y
)
#Parameters
Name | Type | Description |
---|---|---|
x | Time |
The first range |
y | Time |
The second range. |
#Returns
Type | Description |
---|---|
Time |
The intersection of the specified ranges. Empty if the specified ranges do not intersect. |
#Remarks
The resulting range’s Start is the Start
of an initial range that begins last, and End is the End
of an initial range that finishes first.
See Also