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

DxSchedulerTimeSpanRange Members

A time interval within a day.

Constructors

Name Description
DxSchedulerTimeSpanRange(TimeSpan, TimeSpan) Initializes a new DxSchedulerTimeSpanRange class instance with the specified start and end times.

Properties

Name Description
Day static Gets the day’s time interval.
Duration Gets the day interval’s duration.
Empty static Returns an empty interval.
End Gets or sets the day interval’s end time.
IsDay Specifies whether the interval equals to one day.
IsValid Specifies whether the interval is valid.
IsZero Specifies whether the interval is empty.
Start Gets or sets the day interval’s start time.

Methods

Name Description
Equals(DxSchedulerTimeSpanRange) Determines whether the specified DxSchedulerTimeSpanRange object is equal to the current DxSchedulerTimeSpanRange instance.
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 DxSchedulerTimeSpanRange instance.
GetHashCode() Gets the hash code that corresponds to the value of the current DxSchedulerTimeSpanRange object.
GetType() Gets the Type of the current instance. Inherited from Object.
Intersect(DxSchedulerTimeSpanRange, DxSchedulerTimeSpanRange) static Returns an interval that is the intersection of two specified intervals.
Intersect(DxSchedulerTimeSpanRange) Returns an interval that is the intersection of the current interval and the specified interval.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Parse(String, CultureInfo) static Converts the string representation of the time interval to its DxSchedulerTimeSpanRange equivalent.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns the time interval’s textual representation.
ToString(IFormatProvider) Returns the time interval’s textual representation based on the specified culture-specific formatting information.
ToString(String, IFormatProvider) Returns the time interval’s textual representation based on the specified format and culture-specific formatting information.
TryParse(String, CultureInfo, out DxSchedulerTimeSpanRange) static Converts the string representation of the time interval to its DxSchedulerTimeSpanRange equivalent, and returns whether the conversion succeeded.
Union(DxSchedulerTimeSpanRange, DxSchedulerTimeSpanRange) static Returns the time interval that is composed of two specified time intervals.
Union(DxSchedulerTimeSpanRange) Returns the time interval that is a union of the current interval and the specified intervals.

Operators

Name Description
Equality(DxSchedulerTimeSpanRange, DxSchedulerTimeSpanRange) static Indicates whether two specified DxSchedulerTimeSpanRange instances are equal.
Inequality(DxSchedulerTimeSpanRange, DxSchedulerTimeSpanRange) static Indicates whether two specified DxSchedulerTimeSpanRange instances are not equal.
See Also