A data type representing a span of time from days to nanoseconds.
More...
#include <TimeSpan.hpp>
|
| template<typename T > |
| T | Count () const |
| | Get the total duration of this TimeSpan.
|
| |
|
|
das | days { 0 } |
| |
|
hrs | hours { 0 } |
| |
|
mins | minutes { 0 } |
| |
|
secs | seconds { 0 } |
| |
|
ms | millis { 0 } |
| |
|
us | micros { 0 } |
| |
|
ns | nanos { 0 } |
| |
This struct is inspired by the TimeSpan struct found in the C# language.
- See also
-
◆ Count()
template<typename T >
| T Timepiece::TimeSpan::Count |
( |
| ) |
const |
|
inline |
- Template Parameters
-
- Returns
- The total amount of time represented by the unit T.
The documentation for this struct was generated from the following file:
- E:/Dev/MyProjects/Algorithms/DeltaTime/C++/Timepiece/TimeSpan.hpp