Public Member Functions | List of all members
ibis::math::fromUnixTime Class Reference

Functor for converting a unix time stamp into date-time format throught strftime. More...

#include <qExpr.h>

Inheritance diagram for ibis::math::fromUnixTime:
ibis::math::func1

Public Member Functions

virtual fromUnixTimedup () 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.
 

Detailed Description

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.

Warning
The conversioin only makes use of the leading porting of the string printed by 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).

The documentation for this class was generated from the following files:

Make It A Bit Faster
Contact us
Disclaimers
FastBit source code
FastBit mailing list archive