LTL  2.0.x
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
util::LSTime Class Reference

Inherits util::UTDate.

Inherited by util::GSTime.

Public Member Functions

 LSTime (double lon=0.)
 
 LSTime (const UTDate &d, double lon=0.)
 
string toString (const int prec=0) const
 
double toHour () const
 
double toDeg () const
 
time_t time () const
 get internal time_t More...
 
string toString () const
 Return UTC date string. More...
 

Protected Member Functions

char * toCString () const
 
time_t mkuttime (struct tm *ut_tm)
 
time_t mkdcftime (struct tm *dcf_tm)
 

Protected Attributes

time_t ut_date_
 

Constructor & Destructor Documentation

util::LSTime::LSTime ( double  lon = 0.)
inline
util::LSTime::LSTime ( const UTDate d,
double  lon = 0. 
)
inline

Member Function Documentation

string util::LSTime::toString ( const int  prec = 0) const
double util::LSTime::toHour ( ) const
double util::LSTime::toDeg ( ) const
char* util::UTDate::toCString ( ) const
protectedinherited
time_t util::UTDate::mkuttime ( struct tm *  ut_tm)
protectedinherited
time_t util::UTDate::mkdcftime ( struct tm *  dcf_tm)
protectedinherited
time_t util::UTDate::time ( ) const
inherited

get internal time_t

string util::UTDate::toString ( ) const
inherited

Return UTC date string.

Member Data Documentation

time_t util::UTDate::ut_date_
protectedinherited

Referenced by util::JulDate::JulDate().