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

TimeInterval Class

A time interval object.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.2.Core.dll

Declaration

public class TimeInterval :
    ICloneable,
    IXtraSupportShouldSerialize

Remarks

The TimeInterval class is used to represent a specific time interval within the scheduler control.

The properties and methods declared by the TimeInterval class allows a time interval to be defined (see the TimeInterval.Start, TimeInterval.End, TimeInterval.Duration, TimeInterval.AllDay) and manipulated (TimeInterval.Intersect, TimeInterval.Subtract, TimeInterval.IntersectsWith, TimeInterval.Contains, TimeInterval.SameDay, TimeInterval.LongerThanADay, etc).

Instances of the TimeInterval class are held by the TimeIntervalCollection object and can be accessed via the collection’s Item property using index notation.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TimeInterval class.

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.

Inheritance

Object
TimeInterval
See Also