DateTimeRange.Intersect(DateTimeRange, DateTimeRange) Method
Computes the intersection of the specified ranges.
Namespace: DevExpress.Maui.Scheduler
Assembly: DevExpress.Maui.Scheduler.dll
NuGet Package: DevExpress.Maui.Scheduler
Declaration
public static DateTimeRange Intersect(
DateTimeRange x,
DateTimeRange y
)
Parameters
Name | Type | Description |
---|---|---|
x | DateTimeRange | The first range. |
y | DateTimeRange | The second range. |
Returns
Type | Description |
---|---|
DateTimeRange | The intersection of the specified ranges. Empty value if two given 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