26 #ifndef __TERRALIB_DATATYPE_INTERNAL_DATE_H    27 #define __TERRALIB_DATATYPE_INTERNAL_DATE_H    33 #include <boost/date_time/gregorian/gregorian.hpp>    67         Date(boost::gregorian::greg_year year,
    68              boost::gregorian::greg_month month,
    69              boost::gregorian::greg_day day);
    76         Date(
const boost::gregorian::date& d);
    83         const boost::gregorian::date& 
getDate()
 const { 
return m_date; } 
    90         boost::gregorian::date& 
getDate() { 
return m_date; } 
    97         boost::gregorian::greg_day 
getDay()
 const { 
return m_date.day(); } 
   104         boost::gregorian::greg_month 
getMonth()
 const { 
return m_date.month(); } 
   111         boost::gregorian::greg_year 
getYear()
 const { 
return m_date.year(); } 
   158         long operator-(
const Date& rhs) 
const;
   172         std::string toString() 
const;
   194 #endif // __TERRALIB_DATATYPE_INTERNAL_DATE_H TEDATAACCESSEXPORT te::da::Expression * operator<(const te::da::Expression &e1, const te::da::Expression &e2)
 
boost::gregorian::date m_date
Internal date information. 
 
boost::gregorian::greg_year getYear() const 
It returns the gregorian year. 
 
boost::gregorian::greg_day getDay() const 
It returns the gregorian day - from 1 to 31. 
 
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)
 
DateTimeType getDateTimeType() const 
It returns the subtype of the date and time type. 
 
#define TEDATATYPEEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
const boost::gregorian::date & getDate() const 
It returns the internal boost date type. 
 
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. 
 
DateTimeType
The subtype of date and time type, based on ISO 8621. 
 
boost::gregorian::date & getDate()
It returns the internal boost date type. 
 
boost::gregorian::greg_month getMonth() const 
It returns the gregorian month - from 1 to 12. 
 
An abstract class to represent an instant of date and time. 
 
An abstract class to represent an instant of date and time.