The following tables list the members exposed by DateRange.
Name | Description | |
---|---|---|
DateRange Constructor | Overloaded. |
Name | Description | |
---|---|---|
CompareTo | Compares this instance to the specified DateRange | |
Contains | Overloaded. Indicates if the specified date falls within the Start and End dates for this range. | |
Equals | Overloaded. Compares the specified object to this object to see if they are equivalent. | |
GetHashCode | Returns the hash code of the structure. | |
Intersect | Attempts to update the Start and End if the specified range intersects with this instance | |
IntersectsWith | Indicates if the Start and End of the specified DateRange intersects with this object's dates. | |
Normalize | Overloaded. Ensures that the start date is less than or equal to the end date. | |
Offset | Moves the date range by the specified offset. | |
RemoveTime | Removes the time portion from the Start and End | |
ToString | Overloaded. Returns a string representation of the object. |
Equality | Compares the values of two DateRange structures for equality |
Inequality | Compares the values of two DateRange structures for inequality |