69 iTime(
const QString &time);
78 LoadLeapSecondKernel();
130 QString
UTC(
int precision=8)
const;
134 void setEt(
double et);
135 void setUtc(QString utcString);
141 void LoadLeapSecondKernel();
143 static bool p_lpInitialized;
Parse and return pieces of a time string.
Definition iTime.h:65
QString HourString() const
Returns the hour portion of the time as a string.
Definition iTime.cpp:292
bool operator>=(const iTime &time)
Compare two iTime objects for greater than or equal.
Definition iTime.cpp:105
int Hour() const
Returns the hour portion of the time as an int.
Definition iTime.cpp:301
friend iTime operator-(const double &secondsToSubtract, iTime time)
Definition iTime.cpp:205
QString DayOfYearString() const
Returns the day of year portion of the time as a string.
Definition iTime.cpp:371
double Second() const
Returns the second portion of the time as a double.
Definition iTime.cpp:356
bool operator!=(const iTime &time)
Compare two iTime objects for inequality.
Definition iTime.cpp:150
QString EtString() const
Returns the ephemeris time (TDB) representation of the time as a string.
Definition iTime.cpp:396
void setUtc(QString utcString)
Definition iTime.cpp:432
static QString CurrentLocalTime()
Returns the current local time This time is taken directly from the system clock, so if the system cl...
Definition iTime.cpp:520
void operator=(const QString &time)
Changes the value of the iTime object.
Definition iTime.cpp:66
double Et() const
Returns the ephemeris time (TDB) representation of the time as a double.
Definition iTime.h:126
QString DayString() const
Returns the dat portion of the time as a string.
Definition iTime.cpp:268
int Day() const
Returns the day portion of the time as an int.
Definition iTime.cpp:277
QString SecondString(int precision=8) const
Returns the second portion of the time as a string.
Definition iTime.cpp:340
bool operator>(const iTime &time)
Compare two iTime objects for greater than.
Definition iTime.cpp:127
QString MonthString() const
Returns the month portion of the time as a string.
Definition iTime.cpp:244
QString MinuteString() const
Returns the minute portion of the time as a string.
Definition iTime.cpp:316
void setEt(double et)
Definition iTime.cpp:425
iTime(const double time)
Constructs a iTime object and initializes it to the time from the argument.
Definition iTime.h:76
friend iTime operator+(const double &secondsToAdd, iTime time)
Definition iTime.cpp:179
bool operator<(const iTime &time)
Compare two iTime objects for less than.
Definition iTime.cpp:139
int Month() const
Returns the month portion of the time as an int.
Definition iTime.cpp:253
static QString CurrentGMT()
Returns the current Greenwich Mean iTime The time is based on the system time, so it is only as accur...
Definition iTime.cpp:504
int Minute() const
Returns the minute portion of the time as an int.
Definition iTime.cpp:325
int DayOfYear() const
Returns the day of year portion of the time as an int.
Definition iTime.cpp:380
QString YearString() const
Returns the year portion of the time as a string.
Definition iTime.cpp:220
QString UTC(int precision=8) const
Returns the internally stored time, formatted as a UTC time.
Definition iTime.cpp:405
bool operator<=(const iTime &time)
Compare two iTime objects for less than or equal.
Definition iTime.cpp:116
void operator-=(const double &secondsToSubtract)
Definition iTime.cpp:199
~iTime()
Definition iTime.h:84
int Year() const
Returns the year portion of the time as an int.
Definition iTime.cpp:229
iTime()
Constructs an empty iTime object.
Definition iTime.cpp:32
void operator+=(const double &secondsToAdd)
Definition iTime.cpp:173
bool operator==(const iTime &time)
Compare two iTime objects for equality.
Definition iTime.cpp:161
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16