Skip to main content
All docs
V18.2

TimeOfDayInterval Members

A time interval within a day.

Properties

Name Description
Day static Gets the time interval of a day.
Duration Gets the duration of the time of day interval.
Empty static Returns an empty time of day interval.
End Gets or sets the end time of the time of day interval.
Start Gets or sets the start time of the time of day interval.

Methods

Name Description
Assign(TimeOfDayInterval) Copies all settings from the object passed as the parameter to the current object.
Clone() Creates a copy of the current TimeOfDayInterval object.
Contains(TimeSpan) Determines whether the time of day interval contains the specified time.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current TimeOfDayInterval instance.
GetHashCode() Gets the hash code (the number) that corresponds to the value of the current TimeOfDayInterval object.
GetType() Gets the Type of the current instance. Inherited from Object.
Intersect(TimeOfDayInterval, TimeOfDayInterval) static Returns a time-of-day interval which is the intersection of the two specified time-of-day intervals.
IntersectsWithExcludingBounds(TimeOfDayInterval) Checks if the current time of day interval intersects with the specified time of day interval. The boundaries of the time intervals are excluded from the check.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
ToTimeInterval() Converts the TimeOfDayInterval value to the DevExpress.Mvvm.DateTimeRange type
ToTimeInterval(DateTime) Converts the TimeOfDayInterval value to the DevExpress.Mvvm.DateTimeRange type starting from the specified date.
Union(TimeOfDayInterval, TimeOfDayInterval) static Returns a time of day interval which is composed of two specified time of day intervals.

Events

Name Description
Changed Fires when the TimeOfDayInterval is changed.
Changing Fires before the TimeOfDayInterval is changed.
See Also