26 #ifndef __TERRALIB_DATATYPE_INTERNAL_DATEPERIOD_H
27 #define __TERRALIB_DATATYPE_INTERNAL_DATEPERIOD_H
33 #include <boost/date_time/gregorian/gregorian.hpp>
71 DatePeriod(
const boost::gregorian::date_period& dp);
79 DatePeriod(
const boost::gregorian::date& begin,
const boost::gregorian::date& end);
86 const boost::gregorian::date_period&
getDatePeriod()
const {
return m_datePeriod; }
100 Date getInitialDate()
const;
107 Date getFinalDate()
const;
175 std::string toString()
const;
196 #endif // __TERRALIB_DATATYPE_INTERNAL_DATEPERIOD_H
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)
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 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::gregorian::date_period m_datePeriod
The internal date period information.
DateTimeType getDateTimeType() const
It returns the subtype of the date and time type.
boost::gregorian::date_period & getDatePeriod()
It returns the boost date period type.
An abstract class to represent a period of date and time.
const boost::gregorian::date_period & getDatePeriod() const
It returns the boost date period type.
DateTimeType
The subtype of date and time type, based on ISO 8621.
A class to represent date period based on the Gregorian Calendar.
An abstract class to represent a period of date and time.
An abstract class to represent an instant of date and time.