A date representation in ISO-8601 format. More...
#include <sbuild-types.h>
Public Member Functions | |
isodate (time_t unix_time) | |
The constructor. | |
virtual | ~isodate () |
The destructor. | |
Private Member Functions | |
virtual const char * | get_date_format () const |
Get the date formatting string. |
A date representation in ISO-8601 format.
sbuild::isodate::isodate | ( | time_t | unix_time | ) | [inline] |
The constructor.
unix_time | the time in UTC. |
const char * sbuild::isodate::get_date_format | ( | ) | const [private, virtual] |
Get the date formatting string.
This is used for output with the locale std::time_put facet.
Reimplemented from sbuild::date_base.