Duration
Contents
[
Hide
]Duration class
Represents duration in a project.
Methods
| Name | Description |
|---|---|
| Add (2 overloads) | Adds specified double value to this duration. |
| Convert | Converts Duration object to another duration with specified time units. |
| Equals (2 overloads) | Returns a value indicating whether this instance is equal to a specified object. |
| get_IsElapsed | Gets a value indicating whether time unit is elapsed. The flag which determines whether this Duration instance is elapsed. |
| get_IsEstimated | Gets a value indicating whether time unit is estimated. The flag which determines whether this Duration instance is estimated. |
| get_TimeSpan | Gets TimeSpan instance of this Duration object. The TimeSpan instance of this Duration object. |
| get_TimeUnit | Gets time unit type for this object. The time unit type of this Duration instance. |
| GetHashCode | Returns a hash code value for this object. |
| Parse | Converts the specified string to the instance of Duration struct. |
| ParseTimeSpan | Parses duration string in format “PT–H–M–S–”. |
| Subtract (2 overloads) | Subtracts specified double value from this duration instance. |
| ToDouble | Converts Duration object to double value. |
| ToString | Returns a string representation of this instance. |