16 friend std::ostream&
operator<<(std::ostream& output,
const Time& t);
25 Time(
double newSeconds);
Time operator-(const Time &initialTime) const
static const Time & NOW()
Returns current time.
Time()
Creates an unitialized object.
bool operator<=(const Time &t) const
bool operator>(const Time &t) const
void operator-=(const Time &t)
void Set()
Set to current time.
void operator+=(double secs)
double seconds
Number of seconds in elapsed time.
bool operator<(const Time &t) const
unsigned int WholeMicroseconds() const
Returns the number of whole microseconds in elapsed time.
float AsFloat() const
Returns elapsed time (number of seconds) as float.
bool operator>=(const Time &t) const
unsigned int WholeSeconds() const
Returns the number of whole seconds in elapsed time.
friend std::ostream & operator<<(std::ostream &output, const Time &t)
unsigned int WholeMilliseconds() const
Returns the number of whole miliseconds in elapsed time.
Elapsed time representation.