Back to Devexpress

DateTimeRange.Intersect(DateTimeRange, DateTimeRange) Method

maui-devexpress-dot-maui-dot-scheduler-dot-datetimerange-dot-intersect-x28-devexpress-dot-maui-dot-scheduler-dot-datetimerange-devexpress-dot-maui-dot-scheduler-dot-datetimerange-x29.md

latest1.3 KB
Original Source

DateTimeRange.Intersect(DateTimeRange, DateTimeRange) Method

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

csharp
public static DateTimeRange Intersect(
    DateTimeRange x,
    DateTimeRange y
)

Parameters

NameTypeDescription
xDateTimeRange

The time range.

| | y | DateTimeRange |

The time range.

|

Returns

TypeDescription
DateTimeRange

The time range that corresponds to the intersection of specified time ranges. The Empty value if specified ranges do not intersect.

|

See Also

DateTimeRange Struct

DateTimeRange Members

DevExpress.Maui.Scheduler Namespace