BOSS 7.1.2
BESIII Offline Software System
|
#include <DateAndTime.h>
Public Member Functions | |
DateAndTime () | |
DateAndTime (uint32_t val) | |
uint32_t | code (void) const |
std::string | iso8601 (void) const |
std::string | human (void) const |
Interprets and composes a date and time field (32-bit unsigned integer)
Definition at line 26 of file DateAndTime.h.
eformat::helper::DateAndTime::DateAndTime | ( | ) |
Default constructor, it means, now
Definition at line 16 of file DateAndTime.cxx.
eformat::helper::DateAndTime::DateAndTime | ( | uint32_t | val | ) |
Build from an existing date in time
val | The value of the compiled date and time field |
Definition at line 21 of file DateAndTime.cxx.
|
inline |
std::string eformat::helper::DateAndTime::human | ( | void | ) | const |
Returns a string that represents the time in a human readable format
Definition at line 36 of file DateAndTime.cxx.
std::string eformat::helper::DateAndTime::iso8601 | ( | void | ) | const |