Skip to main content

TimeInterval Class

A time interval object.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.Core.dll

NuGet Package: DevExpress.Scheduler.Core

Declaration

[TypeConverter(typeof(ExpandableObjectConverter))]
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