Duration Operators and Type Conversions |
The Duration type exposes the following members.
| Name | Description | |
|---|---|---|
| Addition(Int32, Duration) |
Adds two values.
| |
| Addition(TimeSpan, Duration) |
Adds two values.
| |
| Addition(Duration, Duration) |
Adds two values.
| |
| Addition(Duration, Int32) |
Adds two values.
| |
| Addition(Duration, TimeSpan) |
Adds two values.
| |
| Equality |
Returns true if the two Duration instances are equal.
| |
| GreaterThan(Int32, Duration) |
Returns whether left is greater than right.
| |
| GreaterThan(TimeSpan, Duration) |
Returns whether left is greater than right.
| |
| GreaterThan(Duration, Duration) |
Returns whether left is greater than right.
| |
| GreaterThan(Duration, Int32) |
Returns whether left is greater than right.
| |
| GreaterThan(Duration, TimeSpan) |
Returns whether left is greater than right.
| |
| GreaterThanOrEqual(Int32, Duration) |
Returns whether left is greater than or equal to right.
| |
| GreaterThanOrEqual(TimeSpan, Duration) |
Returns whether left is greater than or equal to right.
| |
| GreaterThanOrEqual(Duration, Duration) |
Returns whether left is greater than or equal to right.
| |
| GreaterThanOrEqual(Duration, Int32) |
Returns whether left is greater than or equal to right.
| |
| GreaterThanOrEqual(Duration, TimeSpan) |
Returns whether left is greater than or equal to right.
| |
| (Int32 to Duration) |
Returns a new Duration instance initialized by the milliseconds value.
| |
| (TimeSpan to Duration) | ||
| (Duration to Int32) |
Returns the number of milliseconds represented by the Duration instance.
| |
| (Duration to TimeSpan) | ||
| Inequality |
Returns true if the two Duration instances are not equal.
| |
| LessThan(Int32, Duration) |
Returns whether left is less than right.
| |
| LessThan(TimeSpan, Duration) |
Returns whether left is less than right.
| |
| LessThan(Duration, Duration) |
Returns whether left is less than right.
| |
| LessThan(Duration, Int32) |
Returns whether left is less than right.
| |
| LessThan(Duration, TimeSpan) |
Returns whether left is less than right.
| |
| LessThanOrEqual(Int32, Duration) |
Returns whether left is less than or equal to right.
| |
| LessThanOrEqual(TimeSpan, Duration) |
Returns whether left is less than or equal to right.
| |
| LessThanOrEqual(Duration, Duration) |
Returns whether left is less than or equal to right.
| |
| LessThanOrEqual(Duration, Int32) |
Returns whether left is less than or equal to right.
| |
| LessThanOrEqual(Duration, TimeSpan) |
Returns whether left is less than or equal to right.
| |
| Multiply |
Multiplies a duration by the specified factor.
| |
| Subtraction(Int32, Duration) |
Subtracts two values.
| |
| Subtraction(TimeSpan, Duration) |
Subtracts two values.
| |
| Subtraction(Duration, Duration) |
Subtracts two values.
| |
| Subtraction(Duration, Int32) |
Subtracts two values.
| |
| Subtraction(Duration, TimeSpan) |
Subtracts two values.
|