Public Types | |
| typedef Int64 | Ticks |
| typedef Int32 | Days |
| typedef Int32 | Hours |
| typedef Int32 | Minutes |
| typedef Int32 | Seconds |
| typedef Int32 | Milliseconds |
| typedef Int32 | Microseconds |
| typedef Int32 | Nanoseconds |
Public Member Functions | |
| TimeSpan (Ticks ticks=0) | |
| TimeSpan (Days days, Hours hours, Minutes minutes, Seconds seconds, Nanoseconds nanoseconds) | |
| TimeSpan (Hours hours, Minutes minutes, Seconds seconds, Nanoseconds nanoseconds) | |
| TimeSpan (const TimeSpan &other) | |
| Days | days () const |
| Hours | hours () const |
| Int32 | minutes () const |
| Int32 | seconds () const |
| Milliseconds | milliseconds () const |
| Microseconds | microseconds () const |
| Nanoseconds | nanoseconds () const |
| Ticks | ticks () const |
| TimeSpan & | operator+= (const TimeSpan &other) |
| TimeSpan & | operator-= (const TimeSpan &other) |
| TimeSpan & | operator= (const TimeSpan &other) |
| void | swap (TimeSpan &other) |
Represents time interval. Used primarily to present time-only stamps and to measure time intervals between two timestamps.
| typedef Int32 Microseconds |
| typedef Int32 Milliseconds |
| typedef Int32 Nanoseconds |
|
inline |
|
inline |
|
inline |
|
inline |
Microseconds component of time interval. Values are in range from -999999 through 999999.
|
inline |
Milliseconds component of time interval. Values are in range from -999 through 999.
|
inline |
|
inline |
Nanoseconds component of time interval. Values are in range from -999999999 through 999999999.
|
inline |
|
inline |