#include <tiempo.hpp>
Public Member Functions | |
| Tiempo () | |
| Tiempo (int nYear, int nMonth, int nDay, int nHour=0, int nMin=0, int nSec=0) | |
| Tiempo (time_t time) | |
| Tiempo (struct tm *ptm) | |
| Tiempo (const Tiempo &timeSrc) | |
| const Tiempo & | operator= (const Tiempo &timeSrc) |
| const Tiempo & | operator= (time_t t) |
| time_t | GetTime () const |
| int | GetYear () const |
| int | GetMonth () const |
| int | GetDay () const |
| int | GetHour () const |
| int | GetMinute () const |
| int | GetSecond () const |
| int | GetDayOfWeek () const |
| int | GetMinutesFromMidnight () |
| DifTiempo | operator- (Tiempo time) const |
| Tiempo | operator- (DifTiempo timeSpan) const |
| Tiempo | operator- (long day) const |
| Tiempo | operator+ (DifTiempo timeSpan) const |
| Tiempo | operator+ (long day) const |
| const Tiempo & | operator+= (DifTiempo timeSpan) |
| const Tiempo & | operator-= (DifTiempo timeSpan) |
| bool | operator== (Tiempo time) const |
| bool | operator!= (Tiempo time) const |
| bool | operator< (Tiempo time) const |
| bool | operator> (Tiempo time) const |
| bool | operator<= (Tiempo time) const |
| bool | operator>= (Tiempo time) const |
| std::string | Format (void) const |
Protected Attributes | |
| time_t | m_time |
Friends | |
| time_t | Ahora () |
| time_t | AhoraGmt0 () |
|
|
|
|
||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3-rc3