#include <Time.h>
Public Methods | |
Time () | |
Time (const Time &t) | |
unsigned long | milliseconds () const |
unsigned long | seconds () const |
const Time & | operator+= (unsigned long millis) |
const Time & | operator-= (unsigned long millis) |
const Time & | operator+= (const Time &t) |
const Time & | operator-= (const Time &t) |
|
Create a Time object with the current time relative to the begining of the program. |
|
Create a Time object by copying another.
|
|
Get the number of milliseconds in this Time object.
|
|
Add the value of another Time object to this one.
|
|
Add some number of milliseconds to this Time object.
|
|
Subtract the value of another Time object from this one. This function has a floor of 0.
|
|
Subtract some number of milliseconds to this Time object.
|
|
Get the number of seconds in this Time object.
|