DateTimeRange Members
In This Article
#Constructors
Name | Description |
---|---|
Date |
Initializes a new instance of the Date |
Date |
Initializes a new instance of the Date |
Date |
#Properties
Name | Description |
---|---|
Duration | |
Empty static | Returns an empty datetime range. |
End | Gets the end date and time of the datetime range. |
Is |
Determines whether the current datetime range is empty. |
Is |
Gets whether the current datetime range is valid. |
Start | Gets the start date and time of the datetime range. |
Today static |
#Methods
Name | Description |
---|---|
Contains |
|
Contains |
|
Equals |
|
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Defines whether the given object is equal to the current Date |
Get |
Gets the hash code (a number) that corresponds to the value of the current Time |
Get |
Gets the Type of the current instance. Inherited from Object. |
Intersect |
|
Intersect |
|
Intersects |
|
Intersects |
|
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
To |
Returns the textual representation of the datetime range. |
To |
Provides a culture-specific string representation of the time range. |
To |
|
Try |
|
Union |
Returns a datetime range which is composed of the two given time ranges. |
Union |
Returns a datetime range which is composed of the current time range and the given datetime range. |
See Also