Contains utilities to format map times.
More...
#include <Time.h>
|
static std::string | FormatTime (int time) |
| Formats time to 0:00.000 format. More...
|
|
static std::string | FormatSeconds (int time) |
| Formats time to 00:00:00 format. More...
|
|
static std::string | Current () |
| Returns the current time in yyyy-mm-dd hh:mm:ss format.
|
|
Contains utilities to format map times.
static std::string Time::FormatSeconds |
( |
int |
time | ) |
|
|
inlinestatic |
Formats time to 00:00:00 format.
- Parameters
-
time | Time to be formatted. |
static std::string Time::FormatTime |
( |
int |
time | ) |
|
|
inlinestatic |
Formats time to 0:00.000 format.
- Parameters
-
time | Time to be formatted. |
The documentation for this class was generated from the following file:
- /home/travis/build/TheMaximum/mania-pp/src/Utils/Time.h