TimeSpanExtensions Class |
Namespace: Akka.TestKit.Internal
The TimeSpanExtensions type exposes the following members.
Name | Description | |||
---|---|---|---|---|
EnsureIsPositiveFinite |
Throws an ArgumentException if the timeSpan is not 0 or greater.
Remarks Note! Part of internal API. Breaking changes may occur without notice. Use at own risk. | |||
IsInfinite(NullableTimeSpan) | Determine if the supplied timeSpan has a negative number of ticks.
| |||
IsInfinite(TimeSpan) | Determine if the supplied timeSpan has a negative number of ticks.
| |||
IsInfiniteTimeout(NullableTimeSpan) |
Determine if the supplied timeSpan is equal to InfiniteTimeSpan.
| |||
IsInfiniteTimeout(TimeSpan) |
Determine if the supplied timeSpan is equal to InfiniteTimeSpan.
| |||
IsPositiveFinite(NullableTimeSpan) |
Determine if the supplied timeSpan has one or more ticks.
| |||
IsPositiveFinite(TimeSpan) |
Determine if the supplied timeSpan has one or more ticks.
| |||
IsUndefined |
Determine if the supplied timeSpan has no value.
| |||
IsZero(NullableTimeSpan) |
Determine if the supplied timeSpan has zero ticks.
| |||
IsZero(TimeSpan) |
Determine if the supplied timeSpan has zero ticks.
| |||
Min | Compares two supplied timespans and returns the timespan with the least amount of positive ticks. If b is null it's treated as undefined, and a is returned. |