Go to the documentation of this file.
   26 #ifndef __TERRALIB_DATATYPE_INTERNAL_DATEPERIOD_H 
   27 #define __TERRALIB_DATATYPE_INTERNAL_DATEPERIOD_H 
   33 #include <boost/date_time/gregorian/gregorian_types.hpp> 
   79         DatePeriod(
const boost::gregorian::date& begin, 
const boost::gregorian::date& end);
 
   86         const boost::gregorian::date_period& 
getDatePeriod()
 const { 
return m_datePeriod; }
 
  196 #endif // __TERRALIB_DATATYPE_INTERNAL_DATEPERIOD_H 
  
 
DateTimeInstant * getInitialInstant() const
It gets the initial date time instant.
 
AbstractData * clone() const
It returns a clone of this object.
 
Date getInitialDate() const
It gets the initial date.
 
DateTimeInstant * getFinalInstant() const
It gets the final date time instant.
 
bool operator!=(const DateTime &rhs) const
Operator !=.
 
An abstract class to represent a period of date and time.
 
boost::gregorian::date_period & getDatePeriod()
It returns the boost date period type.
 
bool operator>(const DateTime &rhs) const
Operator >
 
DatePeriod(const boost::gregorian::date &begin, const boost::gregorian::date &end)
It creates a period as [begin, end).
 
DateTimeType getDateTimeType() const
It returns the subtype of the date and time type.
 
DatePeriod(const boost::gregorian::date_period &dp)
Constructor.
 
A class to represent date period based on the Gregorian Calendar.
 
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.
 
A base class for values that can be retrieved from the data access module.
 
bool operator<(const DateTime &rhs) const
Operator <.
 
boost::gregorian::date_period m_datePeriod
The internal date period information.
 
#define TEDATATYPEEXPORT
You can use this macro in order to export/import classes and functions from this module.
 
Date getFinalDate() const
It gets the final date.
 
An abstract class to represent an instant of date and time.
 
DatePeriod(const Date &initialDate, const Date &finalDate)
Constructor.
 
DateTimeType
The subtype of date and time type, based on ISO 8621.
 
virtual ~DatePeriod()
Destructor.
 
std::string toString() const
It returns the date period in the ISO textual format (YYYYMMDDTYYYYMMDD).
 
bool operator==(const DateTime &rhs) const
Operator ==.
 
A base class for date data types.