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; }
An abstract class to represent a period 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.
An abstract class to represent a period of date and time.
A class to represent time instant with time zone.
A class to represent time period with time zone.
TimePeriodTZ(const TimeInstantTZ &initialTime, const TimeInstantTZ &finalTime)
Constructor.
bool operator!=(const DateTime &rhs) const
Operator !=.
std::string toString() const
It returns the time period with time zone in the ISO textual format (YYYYMMDDThhmmss±hhmm/YYYYMMDDThh...
TimePeriodTZ(const boost::local_time::local_time_period &t)
Constructor.
bool operator<(const DateTime &rhs) const
Operator <.
virtual ~TimePeriodTZ()
Destructor.
TimeInstantTZ getFinalTimeInstant() const
It gets the final time instant.
boost::local_time::local_time_period & getTimePeriodTZ()
It returns the boost time period with time zone type.
AbstractData * clone() const
It returns a clone of this object.
DateTimeInstant * getInitialInstant() const
It gets the initial date time instant.
DateTimeInstant * getFinalInstant() const
It gets the final date time instant.
bool operator==(const DateTime &rhs) const
Operator ==.
bool operator>(const DateTime &rhs) const
Operator >
TimeInstantTZ getInitialTimeInstant() const
It gets the initial time instant.
const boost::local_time::local_time_period & getTimePeriodTZ() const
It returns the boost time period with time zone type.
boost::local_time::local_time_period m_timePeriodTZ
Time period with time zone information.
DateTimeType getDateTimeType() const
It returns the subtype of the date and time type.
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.