TimeSpan Operators
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The TimeSpan type exposes the following members.
| Name | Description | |
|---|---|---|
|
Addition | Adds two specified TimeSpan instances. |
|
Equality | Indicates whether two TimeSpan instances are equal. |
|
GreaterThan | Indicates whether a specified TimeSpan is greater than another specified TimeSpan. |
|
GreaterThanOrEqual | Indicates whether a specified TimeSpan is greater than or equal to another specified TimeSpan. |
|
Inequality | Indicates whether two TimeSpan instances are not equal. |
|
LessThan | Indicates whether a specified TimeSpan is less than another specified TimeSpan. |
|
LessThanOrEqual | Indicates whether a specified TimeSpan is less than or equal to another specified TimeSpan. |
|
Subtraction | Subtracts a specified TimeSpan from another specified TimeSpan. |
|
UnaryNegation | Returns a TimeSpan whose value is the negated value of the specified instance. |
|
UnaryPlus | Returns the specified instance of TimeSpan. |
Show: