DateTimeRange.Intersect(DateTimeRange, DateTimeRange, Boolean) Method
In This Article
Checks whether the date time range intersects with two specified ranges.
Namespace: DevExpress.Mvvm
Assembly: DevExpress.WinUI.Mvvm.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
public static DateTimeRange Intersect(
DateTimeRange x,
DateTimeRange y,
bool includeBounds = true
)
#Parameters
Name | Type | Description |
---|---|---|
x | Date |
The first range with which the intersection should be checked. |
y | Date |
The second range with which the intersection should be checked. |
#Optional Parameters
Name | Type | Default |
---|---|---|
include |
Boolean | True |
#Returns
Type | Description |
---|---|
Date |
|
See Also