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

Functor to convert ISO 8601 style date time value to a unix time stamp. More...

#include <qExpr.h>

Inheritance diagram for ibis::math::toUnixTime:
ibis::math::func1

Public Member Functions

virtual toUnixTimedup () const
 Duplicate thyself. Should follow deep-copy semantics.
 
virtual double eval (double) const
 Evaluate the function on the given argument.
 
virtual void printDecoration (std::ostream &) const
 Print the decoration on this function.
 
virtual void printName (std::ostream &) const
 Print the name of this function.
 
 toUnixTime (const char *z=0)
 
 toUnixTime (const toUnixTime &rhs)
 

Detailed Description

Functor to convert ISO 8601 style date time value to a unix time stamp.

The incoming value is expected to be in the format of YYYYMMDDhhmmss. If the fractinal part of the incoming argument is not zero, this fraction is transfered to the return values as the fraction as well. However, since strftime does not print the fraction of a second, therefore, the user will have deal with the fractions of a second themselves.


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