Go to the documentation of this file.
26 #ifndef __TERRALIB_DATATYPE_INTERNAL_TIMEINSTANTTZ_H
27 #define __TERRALIB_DATATYPE_INTERNAL_TIMEINSTANTTZ_H
33 #include <boost/date_time/local_time/local_time.hpp>
72 const boost::local_time::local_date_time&
getTimeInstantTZ()
const {
return m_timeInstantTZ; }
172 #endif // __TERRALIB_DATATYPE_INTERNAL_TIMEINSTANTTZ_H
bool operator==(const DateTime &rhs) const
Operator ==.
std::string toString() const
It returns the time instant with time zone in the ISO textual format (YYYYMMDDThhmmss?...
const boost::local_time::local_date_time & getTimeInstantTZ() const
It returns the boost time instant with time zone type.
bool operator>(const DateTime &rhs) const
Operator >
TimeInstantTZ(const boost::local_time::local_date_time &t)
Constructor.
bool operator<(const DateTime &rhs) const
Operator <.
long operator-(const TimeInstantTZ &rhs) const
Operator -.
A class to represent time instant with time zone.
An abstract class to represent an instant of date and time.
AbstractData * clone() const
It returns a clone of this object.
boost::local_time::local_date_time m_timeInstantTZ
Time instant with time zone information.
TimeDuration getTime() const
It returns the time duration associated to time instant.
DateTimeType getDateTimeType() const
It returns the subtype of the date and time type.
bool operator!=(const DateTime &rhs) const
Operator !=.
A class to represent time duration with nano-second/micro-second resolution.
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.
virtual ~TimeInstantTZ()
Constructor.
DateTimeType
The subtype of date and time type, based on ISO 8621.
boost::local_time::local_date_time & getTimeInstantTZ()
It returns the boost time instant with time zone type.
A base class for date data types.
Date getDate() const
It returns the date associated to time instant.