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

provide a convenient way to specify time intervals in the order of one second More...

#include <libtime++.h>

Inheritance diagram for libtime::Seconds:
Collaboration diagram for libtime::Seconds:

Public Member Functions

 Seconds (const timeint &second=1, const timeint &milsec=0, const timeint &micsec=0)
 
 Seconds (const double &seconds)
 
timeint days () const
 
std::string hierarchicalstring () const
 
void nfit (const TRelativeTime &delta, timeint &n, TRelativeTime &full) const
 
void div (const timeint &n, TRelativeTime &frac, timeint &rest) const
 
bool operator== (const TRelativeTime &A) const
 
bool operator!= (const TRelativeTime &A) const
 
bool operator<= (const TRelativeTime &A) const
 
bool operator>= (const TRelativeTime &A) const
 
bool operator< (const TRelativeTime &A) const
 
bool operator> (const TRelativeTime &A) const
 
TRelativeTimeoperator+= (const TRelativeTime &A)
 
TRelativeTimeoperator-= (const TRelativeTime &A)
 
TRelativeTime operator+ (const TRelativeTime &A) const
 
TAbsoluteTime operator+ (TAbsoluteTime A) const
 
TRelativeTime operator- (const TRelativeTime &A) const
 
TAbsoluteTime operator- (TAbsoluteTime A) const
 
TRelativeTimeoperator*= (const timeint &n)
 
TRelativeTimeoperator/= (const timeint &n)
 
TRelativeTimeoperator%= (const timeint &n)
 
TRelativeTime operator* (const timeint &n) const
 
TRelativeTime operator/ (const timeint &n) const
 
timeint operator/ (const TRelativeTime &A) const
 
TRelativeTime operator% (const timeint &n) const
 
TRelativeTime operator% (const TRelativeTime &A) 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
 

Detailed Description

provide a convenient way to specify time intervals in the order of one second

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


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