Go to the documentation of this file.
26 #ifndef __TERRALIB_DATATYPE_INTERNAL_TIMEPERIODTZ_H
27 #define __TERRALIB_DATATYPE_INTERNAL_TIMEPERIODTZ_H
33 #include <boost/date_time/local_time/local_time.hpp>
78 const boost::local_time::local_time_period&
getTimePeriodTZ()
const {
return m_timePeriodTZ; }
85 boost::local_time::local_time_period&
getTimePeriodTZ() {
return m_timePeriodTZ; }
189 #endif // __TERRALIB_DATATYPE_INTERNAL_TIMEPERIODTZ_H
bool operator!=(const DateTime &rhs) const
Operator !=.
TimePeriodTZ(const TimeInstantTZ &initialTime, const TimeInstantTZ &finalTime)
Constructor.
DateTimeType getDateTimeType() const
It returns the subtype of the date and time type.
TimePeriodTZ(const boost::local_time::local_time_period &t)
Constructor.
DateTimeInstant * getInitialInstant() const
It gets the initial date time instant.
An abstract class to represent a period of date and time.
DateTimeInstant * getFinalInstant() const
It gets the final date time instant.
bool operator<(const DateTime &rhs) const
Operator <.
A class to represent time instant with time zone.
bool operator==(const DateTime &rhs) const
Operator ==.
boost::local_time::local_time_period & getTimePeriodTZ()
It returns the boost time period with time zone type.
TimeInstantTZ getInitialTimeInstant() const
It gets the initial time instant.
bool operator>(const DateTime &rhs) const
Operator >
const boost::local_time::local_time_period & getTimePeriodTZ() const
It returns the boost time period with time zone type.
virtual ~TimePeriodTZ()
Destructor.
boost::local_time::local_time_period m_timePeriodTZ
Time period with time zone information.
TimeInstantTZ getFinalTimeInstant() const
It gets the final time instant.
An abstract class to represent a period of date and time.
std::string toString() const
It returns the time period with time zone in the ISO textual format (YYYYMMDDThhmmss±hhmm/YYYYMMDDThh...
A base class for values that can be retrieved from the data access module.
#define TEDATATYPEEXPORT
You can use this macro in order to export/import classes and functions from this module.
An abstract class to represent an instant of date and time.
A class to represent time period with time zone.
AbstractData * clone() const
It returns a clone of this object.
DateTimeType
The subtype of date and time type, based on ISO 8621.