libtime++: Date and time calculation
|
class to contain absolute times More...
#include <libtime++.h>
Public Member Functions | |
TAbsoluteTime (const std::string &Itimestring) | |
TAbsoluteTime (const char *Itimestring) | |
TAbsoluteTime (const time_kernel::time_Ts &Itime_Ts) | |
TAbsoluteTime (const timeint &year=2000, const timeint &month=1, const timeint &day=1, const timeint &hour=0, const timeint &minute=0, const timeint &second=0, const timeint &milsec=0, const timeint &micsec=0) | |
void | setdoy (const timeint &doy) |
void | setdoy (const timeint &day, const timeint &month) |
void | setdate (const timeint &day, const timeint &month) |
void | getdate (timeint &day, timeint &month) const |
bool | isleapyear () const |
timeint | year () const |
timeint | doy () const |
timeint | month () const |
timeint | day () const |
std::string | hierarchicalstring () const |
bool | operator== (const TAbsoluteTime &A) const |
bool | operator!= (const TAbsoluteTime &A) const |
bool | operator<= (const TAbsoluteTime &A) const |
bool | operator>= (const TAbsoluteTime &A) const |
bool | operator< (const TAbsoluteTime &A) const |
bool | operator> (const TAbsoluteTime &A) const |
TAbsoluteTime & | operator+= (const TRelativeTime &A) |
TAbsoluteTime & | operator-= (const TRelativeTime &A) |
TAbsoluteTime | operator+ (const TRelativeTime &A) const |
TAbsoluteTime | operator- (const TRelativeTime &A) const |
TRelativeTime | operator- (const TAbsoluteTime &A) const |
TAbsoluteTime & | operator= (const time_kernel::time_Ts &A) |
TAbsoluteTime & | operator= (const std::string ×tring) |
TAbsoluteTime & | operator= (const char *timestring) |
std::string | timestring (const std::string &format) const |
return string representation of time. More... | |
std::string | timestring () const |
std::string | timestring () const |
timeint | hour () const |
timeint | minute () const |
timeint | second () const |
timeint | milsec () const |
timeint | micsec () const |
double | float_second () const |
operator time_kernel::time_Ts () const | |
operator std::string () const | |
Protected Member Functions | |
void | string_read (const std::string ×tring) |
void | char_read (const char *timestring) |
void | norm () |
Protected Attributes | |
time_kernel::time_Ts | Mtime_Ts |
Friends | |
class | TRelativeTime |
class to contain absolute times
Definition at line 149 of file libtime++.h.