|
static void | gettimeofday (struct timeval *tv) |
| Cross platform gettimeofday for Windows and unix platform. This can be used to determine current millisecond. More...
|
|
static std::string | getDateTime (const char *format, const base::MillisecondsWidth *msWidth) |
| Gets current date and time with milliseconds. More...
|
|
static base::type::string_t | formatTime (unsigned long long time, base::TimestampUnit timestampUnit) |
| Formats time to get unit accordingly, units like second if > 1000 or minutes if > 60000 etc. More...
|
|
static unsigned long long | getTimeDifference (const struct timeval &endTime, const struct timeval &startTime, base::TimestampUnit timestampUnit) |
| Gets time difference in milli/micro second depending on timestampUnit. More...
|
|
static void | gettimeofday (struct timeval *tv) |
| Cross platform gettimeofday for Windows and unix platform. This can be used to determine current millisecond. More...
|
|
static std::string | getDateTime (const char *format, const base::MillisecondsWidth *msWidth) |
| Gets current date and time with milliseconds. More...
|
|
static base::type::string_t | formatTime (unsigned long long time, base::TimestampUnit timestampUnit) |
| Formats time to get unit accordingly, units like second if > 1000 or minutes if > 60000 etc. More...
|
|
static unsigned long long | getTimeDifference (const struct timeval &endTime, const struct timeval &startTime, base::TimestampUnit timestampUnit) |
| Gets time difference in milli/micro second depending on timestampUnit. More...
|
|
static void | gettimeofday (struct timeval *tv) |
| Cross platform gettimeofday for Windows and unix platform. This can be used to determine current millisecond. More...
|
|
static std::string | getDateTime (const char *format, const base::MillisecondsWidth *msWidth) |
| Gets current date and time with milliseconds. More...
|
|
static base::type::string_t | formatTime (unsigned long long time, base::TimestampUnit timestampUnit) |
| Formats time to get unit accordingly, units like second if > 1000 or minutes if > 60000 etc. More...
|
|
static unsigned long long | getTimeDifference (const struct timeval &endTime, const struct timeval &startTime, base::TimestampUnit timestampUnit) |
| Gets time difference in milli/micro second depending on timestampUnit. More...
|
|
Contains utilities for cross-platform date/time. This class make use of el::base::utils::Str.