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

TimeInterval Class

A time interval object.

Namespace: DevExpress.XtraScheduler

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

NuGet Package: DevExpress.Scheduler.Core

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.

Inheritance

Object
TimeInterval
See Also