Skip to main content
A newer version of this page is available. .

DxSchedulerTimeSpanRange.Union(DxSchedulerTimeSpanRange, DxSchedulerTimeSpanRange) Method

Returns the time interval that is composed of two specified time intervals.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public static DxSchedulerTimeSpanRange Union(
    DxSchedulerTimeSpanRange x,
    DxSchedulerTimeSpanRange y
)

Parameters

Name Type Description
x DxSchedulerTimeSpanRange

The first interval to be united.

y DxSchedulerTimeSpanRange

The second interval to be united.

Returns

Type Description
DxSchedulerTimeSpanRange

The interval that is a union of two specified intervals.

Remarks

The returned interval’s Start property is set to the earliest date among start dates of two intervals. The returned interval’s End property is set to the latest date among end dates of two intervals.

See Also