29 #include "../core/translator/Translator.h" 58 return static_cast<long>(td.total_seconds());
static te::dt::TimeDuration td(20, 30, 50, 11)
bool operator==(const DateTime &rhs) const
Operator ==.
bool operator<(const DateTime &rhs) const
Operator <.
bool operator>(const DateTime &rhs) const
Operator >
virtual ~TimeInstantTZ()
Constructor.
AbstractData * clone() const
It returns a clone of this object.
A base class for values that can be retrieved from the data access module.
A class to represent time instant with time zone.
long operator-(const TimeInstantTZ &rhs) const
Operator -.
boost::local_time::local_date_time m_timeInstantTZ
Time instant with time zone information.
bool operator!=(const DateTime &rhs) const
Operator !=.
A class to represent time instant with time zone.
std::string toString() const
It returns the time instant with time zone in the ISO textual format (YYYYMMDDThhmmss?hhmm).
An exception class for the DataType module.
TimeInstantTZ(const boost::local_time::local_date_time &t)
Constructor.