DateTimeRange.Intersect(DateTimeRange, DateTimeRange) Method
In This Article
Returns the time range that corresponds to the intersection of specified time ranges.
Namespace: DevExpress.Maui.Scheduler
Assembly: DevExpress.Maui.Mvvm.dll
NuGet Package: DevExpress.Maui.Mvvm
#Declaration
C#
public static DateTimeRange Intersect(
DateTimeRange x,
DateTimeRange y
)
#Parameters
Name | Type | Description |
---|---|---|
x | Date |
The time range. |
y | Date |
The time range. |
#Returns
Type | Description |
---|---|
Date |
The time range that corresponds to the intersection of specified time ranges. The Empty value if specified ranges do not intersect. |
See Also