DateTimeRange.Union(DateTimeRange) Method
In This Article
Returns a datetime range which is composed of the current time range and the given datetime range.
Namespace: DevExpress.Mvvm
Assembly: DevExpress.Mvvm.v24.2.dll
NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation
#Declaration
public DateTimeRange Union(
DateTimeRange x
)
#Parameters
Name | Type | Description |
---|---|---|
x | Date |
A Date |
#Returns
Type | Description |
---|---|
Date |
A Date |
#Remarks
The DateTimeRange.Start value of the resulting DateTimeRange is set to the DateTimeRange.Start time of the range which starts first. The DateTimeRange.End is set to the DateTimeRange.End time of the range that ends last.
See Also