DateTimeRange Methods
The date-time range.
Name | Description |
---|---|
Contains |
Checks whether the current range contains the specified date-time range. |
Contains |
Checks whether the range contains the specified date-time value. |
Equals |
Determines whether the current range is equal to the specified range. |
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether the range is equal to the specified object. |
Get |
Serves as the default hash function. |
Get |
Gets the Type of the current instance. Inherited from Object. |
Intersect |
Computes the intersection of the specified ranges. |
Intersect |
Computes the intersection of the current range with the specified range. |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
To |
Returns a string that represents the range. |
To |
Returns a string that represents the range and formatted using the specified culture-specific formatting information. |
To |
Returns a string that represents the range and formatted using the specified format string and culture-specific formatting information. |
Try |
Tries to parse the specified string and convert it into the date-time range. |
Union |
Computes the union of the specified ranges. |
Union |
Computes the union of the current range and the specified range. |
See Also