84 return static_cast<long>(td.total_seconds());
static te::dt::TimeDuration td(20, 30, 50, 11)
bool operator>(const DateTime &rhs) const
Operator >
boost::posix_time::ptime m_timeInstant
The internal time instant information.
bool operator!=(const DateTime &rhs) const
Operator !=.
std::string toString() const
It returns the time instant in the ISO textual format (YYYYMMDDTHHMMSS,fffffffff) where T is the date...
virtual ~TimeInstant()
Constructor.
bool operator==(const DateTime &rhs) const
Operator ==.
A class to represent time instant.
AbstractData * clone() const
It returns a clone of this object.
Date getDate() const
It returns the date associated to time instant.
A base class for date data types.
static te::dt::DateTime d(2010, 8, 9, 15, 58, 39)
A class to represent time instant.
A base class for values that can be retrieved from the data access module.
A class to represent time duration with nano-second/micro-second resolution.
TimeDuration getTime() const
It returns the time duration associated to time instant.
long operator-(const TimeInstant &rhs) const
Operator -.
bool operator<(const DateTime &rhs) const
Operator <.
TimeInstant()
Constructor.