A functor for formatting unix time using the user supplied format. More...
#include <column.h>
Public Member Functions | |
unixTimeScribe * | dup () const |
void | operator() (std::ostream &, int64_t) const |
Format the integer value ut assuming it is representing a unix time stamp. More... | |
void | operator() (std::ostream &, double) const |
unixTimeScribe & | operator= (const unixTimeScribe &rhs) |
unixTimeScribe (const char *fmt, const char *tz=0) | |
Constructor. | |
unixTimeScribe (const unixTimeScribe &rhs) | |
Copy constructor. | |
~unixTimeScribe () | |
Denstructor. | |
Public Attributes | |
const char * | format_ |
const char * | timezone_ |
A functor for formatting unix time using the user supplied format.
void ibis::column::unixTimeScribe::operator() | ( | std::ostream & | out, |
int64_t | ut | ||
) | const |
Format the integer value ut
assuming it is representing a unix time stamp.