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

DxSchedulerDateTimeRange Members

The date-time range used in the Scheduler.

Constructors

Name Description
DxSchedulerDateTimeRange(DateTime, DateTime) Initializes a new instance of the DxSchedulerDateTimeRange class.
DxSchedulerDateTimeRange(DateTime, TimeSpan) Initializes a new instance of the DxSchedulerDateTimeRange class.

Properties

Name Description
Duration Gets the range’s duration.
Empty static Returns an empty range.
End Specifies the range’s end date.
IsEmpty Specifies whether the range is empty.
IsValid Specifies whether the range is valid.
Start Specifies the range’s start date.
Today static Gets the current day.

Methods

Name Description
Contains(DxSchedulerDateTimeRange) Determines whether the current range contains the specified range.
Contains(DateTime) Determines whether the current range contains the specified date.
Equals(DxSchedulerDateTimeRange) Determines whether the specified DxSchedulerDateTimeRange object is equal to the current DxSchedulerDateTimeRange 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 DxSchedulerDateTimeRange object.
GetType() Gets the Type of the current instance. Inherited from Object.
Intersect(DxSchedulerDateTimeRange, DxSchedulerDateTimeRange) static Returns a range that is the intersection of two specified ranges.
Intersect(DxSchedulerDateTimeRange) Returns a range that is the intersection of the current range and the specified range.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns the range’s textual representation.
ToString(IFormatProvider) Returns the range’s textual representation based on the specified format and culture-specific formatting information.
ToString(String, IFormatProvider) Returns the range’s textual representation based on the specified format and culture-specific formatting information.
TryParse(String, CultureInfo, out DxSchedulerDateTimeRange) static Converts the range’s string representation to its DxSchedulerDateTimeRange equivalent, and returns whether the conversion succeeded.
Union(DxSchedulerDateTimeRange, DxSchedulerDateTimeRange) static Returns the range that is a union of two specified ranges.
Union(DxSchedulerDateTimeRange) Returns the range that is a union of the current range and the specified range.

Operators

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