Ginan
|
Time structure used throughout this software. More...
Time structure used throughout this software.
Public Member Functions | |
GTime (GTow tow, GTime nearTime) | |
GTime (BTow tow, GTime nearTime) | |
GTime (RTod tod, GTime nearTime) | |
string | to_string (int n=2) const |
string | to_ISOstring (int n=2) const |
double | to_decYear () const |
bool | operator== (const GTime &t2) const |
bool | operator!= (const GTime &t2) const |
bool | operator< (const GTime &t2) const |
bool | operator> (const GTime &t2) const |
bool | operator>= (const GTime &t2) const |
GTime | operator+ (const double t) const |
GTime | operator+ (const int t) const |
GTime | operator+ (const Duration duration) const |
GTime & | operator+= (const double rhs) |
GTime & | operator-= (const double rhs) |
Duration | operator- (const GTime t) const |
GTime | operator- (const double t) const |
GTime | operator- (const Duration duration) const |
GTime & | operator++ (int) |
GTime () | |
GTime (GWeek gpsWeek, GTow tow) | |
GTime (BWeek bdsWeek, BTow tow) | |
GTime (MjDateTT mjdTT) | |
GTime (MjDateUtc mjdUtc) | |
template<class ARCHIVE > | |
void | serialize (ARCHIVE &ar, const unsigned int &version) |
GTime | floorTime (double period) const |
string | gregString () |
Returns GTime in "dd-mmm-yyyy hh:mm:ss" format. | |
operator long double () const | |
operator MjDateTT () const | |
operator GEpoch () const | |
operator UtcTime () const | |
operator GWeek () const | |
operator BWeek () const | |
operator GTow () const | |
operator BTow () const | |
operator PTime () const | |
operator string () const | |
operator RTod () const | |
Static Public Member Functions | |
static GTime | noTime () |
Uninitialised time for comparisons. | |
Data Fields | |
int | cacheN = 0 |
long double | cacheTime = -1 |
string | cacheString |
long double | bigTime = 0 |
Friends | |
ostream & | operator<< (ostream &os, const GTime &time) |
|
inline |
GTime::GTime | ( | MjDateTT | mjdTT | ) |
GTime::GTime | ( | MjDateUtc | mjdUtc | ) |
GTime GTime::floorTime | ( | double | period | ) | const |
string GTime::gregString | ( | ) |
Returns GTime in "dd-mmm-yyyy hh:mm:ss" format.
|
inlinestatic |
Uninitialised time for comparisons.
GTime::operator BTow | ( | ) | const |
GTime::operator BWeek | ( | ) | const |
GTime::operator GEpoch | ( | ) | const |
GTime::operator GTow | ( | ) | const |
GTime::operator GWeek | ( | ) | const |
GTime::operator long double | ( | ) | const |
GTime::operator MjDateTT | ( | ) | const |
GTime::operator PTime | ( | ) | const |
GTime::operator RTod | ( | ) | const |
GTime::operator string | ( | ) | const |
GTime::operator UtcTime | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
double GTime::to_decYear | ( | ) | const |
string GTime::to_ISOstring | ( | int | n = 2 | ) | const |
string GTime::to_string | ( | int | n = 2 | ) | const |
|
friend |
long double GTime::bigTime = 0 |
|
mutable |
|
mutable |
|
mutable |