The Time class uses a integer representation of the current time.
More...
#include <numbers.h>
The Time class uses a integer representation of the current time.
This is then manipulated in several forms and may be exported as needed.
- Author
- Marcelo Dalmas mad@b.nosp@m.rasm.nosp@m.ap.co.nosp@m.m.br Integer based time class.
Definition at line 215 of file numbers.h.
Time::Time |
( |
char * |
str, |
|
|
size_t |
size = 0 |
|
) |
| |
Time::Time |
( |
int |
hour, |
|
|
int |
minute, |
|
|
int |
second |
|
) |
| |
void Time::fromSeconds |
( |
char * |
buf | ) |
const |
|
protected |
int Time::getHour |
( |
void |
| ) |
const |
int Time::getMinute |
( |
void |
| ) |
const |
int Time::getSecond |
( |
void |
| ) |
const |
char* Time::getTime |
( |
char * |
buffer | ) |
const |
time_t Time::getTime |
( |
void |
| ) |
const |
tm* Time::getTime |
( |
tm * |
buf | ) |
const |
long Time::getValue |
( |
void |
| ) |
const |
bool Time::isValid |
( |
void |
| ) |
const |
bool Time::operator! |
( |
| ) |
const |
|
inline |
String Time::operator() |
( |
| ) |
const |
Time& Time::operator++ |
( |
| ) |
|
Time& Time::operator+= |
( |
const int |
val | ) |
|
Time& Time::operator-- |
( |
| ) |
|
Time& Time::operator-= |
( |
const int |
val | ) |
|
int Time::operator< |
( |
const Time & |
time | ) |
|
int Time::operator<= |
( |
const Time & |
time | ) |
|
int Time::operator== |
( |
const Time & |
time | ) |
|
int Time::operator> |
( |
const Time & |
time | ) |
|
int Time::operator>= |
( |
const Time & |
time | ) |
|
void Time::setTime |
( |
char * |
str, |
|
|
size_t |
size = 0 |
|
) |
| |
void Time::toSeconds |
( |
int |
hour, |
|
|
int |
minute, |
|
|
int |
second |
|
) |
| |
|
protected |
virtual void Time::update |
( |
void |
| ) |
|
|
protectedvirtual |
Time operator+ |
( |
const Time & |
time, |
|
|
const int |
val |
|
) |
| |
|
friend |
Time operator+ |
( |
const int |
val, |
|
|
const Time & |
time |
|
) |
| |
|
friend |
Time operator- |
( |
const Time & |
time, |
|
|
const int |
val |
|
) |
| |
|
friend |
Time operator- |
( |
const int |
val, |
|
|
const Time & |
time |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: