Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
Class to represent the duration between instants of time. More...
#include <qpid/sys/Time.h>
Public Member Functions | |
Duration (int64_t time0) | |
Duration (const AbsTime &time0) | |
Duration (const AbsTime &start, const AbsTime &finish) | |
operator int64_t () const |
Class to represent the duration between instants of time.
As AbsTime, this class also uses nanosecs for its time resolution where possible. For the most part a duration can be dealt with like a 64 bit integer, and indeed there is an implicit conversion which makes this quite convenient.
Definition at line 118 of file Time.h.
qpid::sys::Duration::Duration | ( | const AbsTime & | time0 | ) | [explicit] |