Takes care of printing and parsing time spans like '1 s' or '15.3 ms'. Supports seconds, milliseconds, microseconds and nanoseconds.
More...
|
void | ToString (System.Text.StringBuilder output) |
| To avoid generating extra garbage during formatting, this can be used with StringBuilder. More...
|
|
|
static string | LongTimeSpanFormat (TimeSpan timeSpan) |
| For formating of timespans longer than 1 minute like "1 d 1 h 14m" instead of "90840 s" More...
|
|
Takes care of printing and parsing time spans like '1 s' or '15.3 ms'. Supports seconds, milliseconds, microseconds and nanoseconds.
◆ LongTimeSpanFormat()
static string OpenTap.ShortTimeSpan.LongTimeSpanFormat |
( |
TimeSpan |
timeSpan | ) |
|
|
inlinestatic |
For formating of timespans longer than 1 minute like "1 d 1 h 14m" instead of "90840 s"
- Parameters
-
- Returns
◆ ToString()
void OpenTap.ShortTimeSpan.ToString |
( |
System.Text.StringBuilder |
output | ) |
|
|
inline |
To avoid generating extra garbage during formatting, this can be used with StringBuilder.
- Parameters
-