Skip to main content

DxSchedulerDateTimeRange.Union(DxSchedulerDateTimeRange, DxSchedulerDateTimeRange) Method

Returns the range that is a union of two specified ranges.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public static DxSchedulerDateTimeRange Union(
    DxSchedulerDateTimeRange x,
    DxSchedulerDateTimeRange y
)

Parameters

Name Type Description
x DxSchedulerDateTimeRange

The first range to be united.

y DxSchedulerDateTimeRange

The second range to be united.

Returns

Type Description
DxSchedulerDateTimeRange

The range that is a union of two specified ranges.

Remarks

The resulting range’s Start property is set to the earliest date among start dates of two ranges. The resulting ranges’s End property is set to the latest date among end dates of two ranges.

See Also