26 #ifndef __TERRALIB_DATATYPE_INTERNAL_TIMEINSTANT_H
27 #define __TERRALIB_DATATYPE_INTERNAL_TIMEINSTANT_H
35 #include <boost/date_time/posix_time/posix_time.hpp>
92 const boost::posix_time::ptime&
getTimeInstant()
const {
return m_timeInstant; }
172 std::string toString()
const;
192 #endif // __TERRALIB_DATATYPE_INTERNAL_TIMEINSTANT_H
TEDATAACCESSEXPORT te::da::Expression * operator<(const te::da::Expression &e1, const te::da::Expression &e2)
boost::posix_time::ptime m_timeInstant
The internal time instant information.
DateTimeType getDateTimeType() const
It returns the subtype of the date and time type.
TEDATAACCESSEXPORT te::da::Expression * operator==(const te::da::Expression &e1, const te::da::Expression &e2)
TEDATAACCESSEXPORT te::da::Expression * operator!=(const te::da::Expression &e1, const te::da::Expression &e2)
const boost::posix_time::ptime & getTimeInstant() const
It returns the boost time instant type.
#define TEDATATYPEEXPORT
You can use this macro in order to export/import classes and functions from this module.
A class to represent time instant.
A class to represent time duration.
Date getDate() const
It returns the date associated to time instant.
A base class for date data types.
TEDATAACCESSEXPORT te::da::Expression * operator>(const te::da::Expression &e1, const te::da::Expression &e2)
A base class for values that can be retrieved from the data access module.
boost::posix_time::ptime & getTimeInstant()
It returns the boost time instant type.
A class to represent time duration with nano-second/micro-second resolution.
DateTimeType
The subtype of date and time type, based on ISO 8621.
An abstract class to represent an instant of date and time.
An abstract class to represent an instant of date and time.
A base class for date data types.