30 : m_timeDuration(hours, minutes, seconds, fracSeconds)
67 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::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.