26 #ifndef __TERRALIB_DATATYPE_INTERNAL_TIMEPERIOD_H
27 #define __TERRALIB_DATATYPE_INTERNAL_TIMEPERIOD_H
33 #include <boost/date_time/posix_time/posix_time.hpp>
74 TimePeriod(
const boost::posix_time::time_period& t);
86 const boost::posix_time::time_period&
getTimePeriod()
const {
return m_timePeriod; }
93 boost::posix_time::time_period&
getTimePeriod() {
return m_timePeriod; }
175 std::string toString()
const;
197 #endif // __TERRALIB_DATATYPE_INTERNAL_TIMEPERIOD_H
TEDATAACCESSEXPORT te::da::Expression * operator<(const te::da::Expression &e1, const te::da::Expression &e2)
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)
#define TEDATATYPEEXPORT
You can use this macro in order to export/import classes and functions from this module.
A class to represent time instant.
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.
A class to represent time period.
const boost::posix_time::time_period & getTimePeriod() const
Assignment operator.
boost::posix_time::time_period & getTimePeriod()
It returns the boost time period type.
An abstract class to represent a period of date and time.
DateTimeType
The subtype of date and time type, based on ISO 8621.
boost::posix_time::time_period m_timePeriod
Time period information.
An abstract class to represent a period of date and time.
An abstract class to represent an instant of date and time.