A newer version of this page is available. Switch to the current version.

DateTimeRange Struct

Time interval which provides extended operations such as Union and Intersect.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v20.2.dll

Declaration

public struct DateTimeRange :
    IFormattable,
    IEquatable<DateTimeRange>

Remarks

The DateTimeRange class is used to represent a specific datetime range within the SchedulerControl.

The DateTimeRange properties and methods allow you to define (DateTimeRange) and manipulate (DateTimeRange.Intersect, DateTimeRange.Union) the datetime range.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DateTimeRange struct.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also