Time |
public static class TimeSpanExtensions
The TimeSpanExtensions type exposes the following members.
| Name | Description | |
|---|---|---|
| FromSecondsAccurate | Constructs a TimeSpan from the provided seconds exactly (without rounding to milliseconds). | |
| Max | Returns the larger of two time spans. | |
| Min | Returns the smaller of two time spans. | |
| SafeAddition(TimeSpan, Double) | Adds a number of seconds to a time span while clamping the result to the valid TimeSpan range. | |
| SafeAddition(TimeSpan, TimeSpan) | Adds two time spans while clamping the result to the valid TimeSpan range. |