Skip to main content

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(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from 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.
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.
See Also