cgv
|
Public Member Functions | |
date_time (const time &t, const date &d) | |
date_time (const date &d) | |
long | operator- (const date_time &dt) const |
compute the difference of two points in time in seconds | |
date_time | operator+ (long secs) const |
add given number of seconds to the point in time | |
date_time | operator- (long secs) const |
subtract given number of seconds to the point in time | |
![]() | |
date (unsigned short _year, unsigned char _month=0, unsigned char _day=0) | |
![]() | |
time (unsigned char _h=0, unsigned _min=0, unsigned char _sec=0) | |
Additional Inherited Members | |
![]() | |
unsigned short | year |
unsigned char | month |
unsigned char | day |
![]() | |
unsigned char | h |
unsigned char | minutes |
unsigned char | sec |
Definition at line 26 of file date_time.h.
Definition at line 22 of file date_time.cxx.
cgv::utils::date_time::date_time | ( | const date & | d | ) |
Definition at line 26 of file date_time.cxx.
date_time cgv::utils::date_time::operator+ | ( | long | secs | ) | const |
add given number of seconds to the point in time
Definition at line 59 of file date_time.cxx.
long cgv::utils::date_time::operator- | ( | const date_time & | dt | ) | const |
compute the difference of two points in time in seconds
Definition at line 53 of file date_time.cxx.
date_time cgv::utils::date_time::operator- | ( | long | secs | ) | const |
subtract given number of seconds to the point in time
Definition at line 65 of file date_time.cxx.