Skip to main content

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

public static DateTimeRange Intersect(
    DateTimeRange x,
    DateTimeRange y
)

Parameters

Name Type Description
x DateTimeRange

The time range.

y DateTimeRange

The time range.

Returns

Type Description
DateTimeRange

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

See Also