26 #ifndef __TERRALIB_DATATYPE_INTERNAL_DATEDURATION_H
27 #define __TERRALIB_DATATYPE_INTERNAL_DATEDURATION_H
46 class DateDurationImpl;
An abstract class for date and time types.
A base class for values that can be retrieved from the data access module.
A class to represent date duration.
virtual ~DateDuration()
Destructor.
DateDuration()
Empty constructor.
boost::gregorian::date_duration & getDateDuration()
It returns the boost date duration type.
DateDuration(const te::dt::DateDuration &rhs)
Copy Constructor.
const boost::gregorian::date_duration & getDateDuration() const
It returns the boost date duration type.
DateDuration(const boost::gregorian::date_duration &dd)
Constructor.
DateDuration(long dd)
Constructor.
bool operator>(const DateTime &rhs) const
Operator >
bool operator==(const DateTime &rhs) const
Operator ==.
AbstractData * clone() const
It returns a clone of this object.
DateTimeType getDateTimeType() const
It returns the subtype of the date and time type.
bool operator<(const DateTime &rhs) const
Operator <.
bool operator!=(const DateTime &rhs) const
Operator !=.
std::string toString() const
It returns the date duration in a textual format.
std::unique_ptr< DateDurationImpl > m_dateDurationImpl
Date duration information.
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.