libtime++: Date and time calculation
libtime::TAbsoluteTime Class Reference

class to contain absolute times More...

#include <libtime++.h>

Inheritance diagram for libtime::TAbsoluteTime:
Collaboration diagram for libtime::TAbsoluteTime:

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
 
TAbsoluteTimeoperator+= (const TRelativeTime &A)
 
TAbsoluteTimeoperator-= (const TRelativeTime &A)
 
TAbsoluteTime operator+ (const TRelativeTime &A) const
 
TAbsoluteTime operator- (const TRelativeTime &A) const
 
TRelativeTime operator- (const TAbsoluteTime &A) const
 
TAbsoluteTimeoperator= (const time_kernel::time_Ts &A)
 
TAbsoluteTimeoperator= (const std::string &timestring)
 
TAbsoluteTimeoperator= (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 &timestring)
 
void char_read (const char *timestring)
 
void norm ()
 

Protected Attributes

time_kernel::time_Ts Mtime_Ts
 

Friends

class TRelativeTime
 

Detailed Description

class to contain absolute times

Definition at line 149 of file libtime++.h.


The documentation for this class was generated from the following files: