Represents a time interval.
The following tables list the members exposed by the TimeSpan type.
Name | Description | |
---|---|---|
Initializes a new instance of the TimeSpan class. |
Name | Description | |
---|---|---|
Gets the number of days that represent the value of this TimeSpan. |
||
Gets the number of hours that represent the value of this TimeSpan. |
||
Gets the number of milliseconds that represent the value of this TimeSpan. |
||
Gets the number of minutes that represent the value of this TimeSpan. |
||
Gets the number of seconds that represent the value of this TimeSpan. |
||
Gets the number of ticks that represent the value of this TimeSpan. |
Name | Description | |
---|---|---|
Returns a new TimeSpan object whose value is the sum of the specified TimeSpan object and this instance. |
||
Creates a copy of the time span. |
||
Checks if the time span object represents the same time value as the current instance. |
||
Returns a TimeSpan that represents a specified number of days. |
||
Returns a TimeSpan that represents a specified number of hours. |
||
Returns a TimeSpan that represents a specified number of milliseconds. |
||
Returns a TimeSpan that represents a specified number of minutes. |
||
Returns a TimeSpan that represents a specified number of seconds. |
||
Returns a new TimeSpan object whose value is the difference between the specified TimeSpan object and this instance. |