Skip to main content

DateRange Members

Stores a date range.

Constructors

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

Properties

Name Description
End Gets the end date of the range.
Start Gets the start date of the range.

Methods

Name Description
CoerceDate(DateTime) Coerces the specified date into the current date range.
CoerceDateRange(DateRange) Coerces the specified date range to the current date range.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the current object has the same settings as the specified object.
EqualsTo(DateRange) Determines whether the current date range has the same settings as the specified date range.
GetHashCode() Gets the hash code (a number) that corresponds to the value of the current DateRange object.
GetType() Gets the Type of the current instance. Inherited from Object.
IsOutOfRange(DateTime) Gets whether the specified date is out of the current range.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToDaysList() Gets the list of days within the range.
ToString() Returns the fully qualified type name of this instance. Inherited from ValueType.
See Also