DateTimeRange.IntersectsWith(DateTimeRange, DateTimeRange, Boolean) Method
In This Article
Computes the intersection of the specified ranges.
Namespace: DevExpress.Mvvm
Assembly: DevExpress.WinUI.Mvvm.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
public static bool IntersectsWith(
DateTimeRange x,
DateTimeRange y,
bool includeBounds = true
)
#Parameters
Name | Type | Description |
---|---|---|
x | Date |
The first range. |
y | Date |
The second range. |
#Optional Parameters
Name | Type | Default |
---|---|---|
include |
Boolean | True |
#Returns
Type | Description |
---|---|
Boolean | The intersection of the specified ranges. |
See Also