DateTimeRange.Intersect(DateTimeRange, DateTimeRange, Boolean) Method
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 | DateTimeRange | The first range with which the intersection should be checked. |
y | DateTimeRange | The second range with which the intersection should be checked. |
Optional Parameters
Name | Type | Default |
---|---|---|
includeBounds | Boolean | True |
Returns
Type | Description |
---|---|
DateTimeRange |
|
See Also