26#ifndef __TERRALIB_DATATYPE_INTERNAL_DATE_H 
   27#define __TERRALIB_DATATYPE_INTERNAL_DATE_H 
   79        Date(
const boost::gregorian::greg_year& year,
 
   80             const boost::gregorian::greg_month& month,
 
   81             const boost::gregorian::greg_day& day);
 
   88        Date(
const boost::gregorian::date& d);
 
  100        const boost::gregorian::date& 
getDate() 
const;
 
  114        const boost::gregorian::greg_day& 
getDay() 
const;
 
  121        const boost::gregorian::greg_month& 
getMonth() 
const;
 
  128        const boost::gregorian::greg_year& 
getYear() 
const;
 
An abstract class to represent an instant of date and time.
 
A base class for values that can be retrieved from the data access module.
 
An abstract class to represent an instant of date and time.
 
A base class for date data types.
 
std::unique_ptr< DateImpl > m_dateImpl
Internal date information.
 
boost::gregorian::date & getDate()
It returns the internal boost date type.
 
AbstractData * clone() const
It returns a clone of this object.
 
bool operator==(const DateTime &rhs) const
Operator ==.
 
Date(const te::dt::Date &rhs)
Copy Constructor.
 
virtual ~Date()
Destructor.
 
const boost::gregorian::greg_month & getMonth() const
It returns the gregorian month - from 1 to 12.
 
std::string toString() const
It returns the date in the ISO textual format (YYYYMMDD).
 
bool operator!=(const DateTime &rhs) const
Operator !=.
 
const boost::gregorian::date & getDate() const
It returns the internal boost date type.
 
bool operator>(const DateTime &rhs) const
Operator >
 
const boost::gregorian::greg_year & getYear() const
It returns the gregorian year.
 
long operator-(const Date &rhs) const
Operator -.
 
Date(const boost::gregorian::date &d)
Constructor.
 
DateTimeType getDateTimeType() const
It returns the subtype of the date and time type.
 
const boost::gregorian::greg_day & getDay() const
It returns the gregorian day - from 1 to 31.
 
Date(const boost::gregorian::greg_year &year, const boost::gregorian::greg_month &month, const boost::gregorian::greg_day &day)
Constructor.
 
bool operator<(const DateTime &rhs) const
Operator <.
 
DateTimeType
The subtype of date and time type, based on ISO 8621.
 
#define TEDATATYPEEXPORT
You can use this macro in order to export/import classes and functions from this module.