Mania++
 All Classes Functions Variables Pages
Static Public Member Functions | List of all members
Time Class Reference

Contains utilities to format map times. More...

#include <Time.h>

Static Public Member Functions

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.
 

Detailed Description

Contains utilities to format map times.

Member Function Documentation

static std::string Time::FormatSeconds ( int  time)
inlinestatic

Formats time to 00:00:00 format.

Parameters
timeTime to be formatted.
static std::string Time::FormatTime ( int  time)
inlinestatic

Formats time to 0:00.000 format.

Parameters
timeTime to be formatted.

The documentation for this class was generated from the following file: