Skip to main content

DateTimeRange.Union(DateTimeRange) Method

Computes the union of the current range and the specified range.

Namespace: DevExpress.XamarinForms.Scheduler

Assembly: DevExpress.XamarinForms.Scheduler.dll

NuGet Package: DevExpress.XamarinForms.Scheduler

Declaration

public DateTimeRange Union(
    DateTimeRange x
)

Parameters

Name Type Description
x DateTimeRange

The range with which the union should be calculated.

Returns

Type Description
DateTimeRange

The union of the ranges.

Remarks

The resulting range’s Start is the Start of range that begins first, and End is the End of range that finishes last.

See Also