30 : m_timeDuration(hours, minutes, seconds, fracSeconds)
65 boost::posix_time::time_duration td(m_timeDuration - rhs.
m_timeDuration);
67 return td.total_seconds();
77 return boost::posix_time::to_simple_string(m_timeDuration);
bool operator<(const DateTime &rhs) const
Operator <.
boost::posix_time::time_duration m_timeDuration
The internal time duration information.
std::string toString() const
It returns the time duration in the ISO textual format (hh:mm:ss,ss).
A class to represent time duration.
TimeDuration(long hours, long minutes, long seconds, boost::int64_t fracSeconds=0)
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 duration with nano-second/micro-second resolution.
bool operator!=(const DateTime &rhs) const
Operator !=.
bool operator==(const DateTime &rhs) const
Operator ==.
long operator-(const TimeDuration &rhs) const
Operator -.
bool operator>(const DateTime &rhs) const
Operator <.
virtual ~TimeDuration()
Destructor.