Apache Mesos
Public Member Functions | Static Public Member Functions | List of all members
process::Time Class Reference

#include <time.hpp>

Public Member Functions

 Time ()
 
Duration duration () const
 
double secs () const
 
bool operator< (const Time &t) const
 
bool operator<= (const Time &t) const
 
bool operator> (const Time &t) const
 
bool operator>= (const Time &t) const
 
bool operator== (const Time &t) const
 
bool operator!= (const Time &t) const
 
Timeoperator+= (const Duration &d)
 
Timeoperator-= (const Duration &d)
 
Duration operator- (const Time &that) const
 
Time operator+ (const Duration &duration) const
 
Time operator- (const Duration &duration) const
 

Static Public Member Functions

static Time epoch ()
 
static Time max ()
 
static Try< Timecreate (double seconds)
 

Constructor & Destructor Documentation

process::Time::Time ( )
inline

Member Function Documentation

static Try<Time> process::Time::create ( double  seconds)
static
Duration process::Time::duration ( ) const
inline
Time process::Time::epoch ( )
inlinestatic
Time process::Time::max ( )
inlinestatic
bool process::Time::operator!= ( const Time t) const
inline
Time process::Time::operator+ ( const Duration duration) const
inline
Time& process::Time::operator+= ( const Duration d)
inline
Duration process::Time::operator- ( const Time that) const
inline
Time process::Time::operator- ( const Duration duration) const
inline
Time& process::Time::operator-= ( const Duration d)
inline
bool process::Time::operator< ( const Time t) const
inline
bool process::Time::operator<= ( const Time t) const
inline
bool process::Time::operator== ( const Time t) const
inline
bool process::Time::operator> ( const Time t) const
inline
bool process::Time::operator>= ( const Time t) const
inline
double process::Time::secs ( ) const
inline

The documentation for this class was generated from the following file: