Functor for converting a unix time stamp into date-time format throught strftime.
More...
#include <qExpr.h>
Public Member Functions | |
| virtual fromUnixTime * | dup () const |
| Duplicate thyself. Should follow deep-copy semantics. | |
| virtual double | eval (double) const |
| Evaluate the function on the given argument. | |
| fromUnixTime (const char *f, const char *z=0) | |
| fromUnixTime (const fromUnixTime &rhs) | |
| virtual void | printDecoration (std::ostream &) const |
| Print the decoration on this function. | |
| virtual void | printName (std::ostream &) const |
| Print the name of this function. | |
Functor for converting a unix time stamp into date-time format throught strftime.
Note that both incoming argument and output are treated as double precision floating-point values.
strftime. If the format string passed to strftime produces a string starting with letters (not numbers) then the resulting number will be NaN (non-a-number).
|
| |