78 iTime(
const QString &time);
87 LoadLeapSecondKernel();
143 void setEt(
double et);
144 void setUtc(QString utcString);
150 void LoadLeapSecondKernel();
151 void UnloadLeapSecondKernel();
153 static bool p_lpInitialized;
iTime()
Constructs an empty iTime object.
Definition: iTime.cpp:45
QString EtString() const
Returns the ephemeris time (TDB) representation of the time as a string.
Definition: iTime.cpp:416
iTime operator+(const double &secondsToAdd) const
Definition: iTime.cpp:185
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:519
Parse and return pieces of a time string.
Definition: iTime.h:74
QString SecondString() const
Returns the second portion of the time as a string.
Definition: iTime.cpp:359
int Day() const
Returns the day portion of the time as an int.
Definition: iTime.cpp:296
bool operator<(const iTime &time)
Compare two iTime objects for less than.
Definition: iTime.cpp:158
int Hour() const
Returns the hour portion of the time as an int.
Definition: iTime.cpp:320
bool operator>=(const iTime &time)
Compare two iTime objects for greater than or equal.
Definition: iTime.cpp:124
bool operator>(const iTime &time)
Compare two iTime objects for greater than.
Definition: iTime.cpp:146
void setUtc(QString utcString)
Definition: iTime.cpp:452
QString YearString() const
Returns the year portion of the time as a string.
Definition: iTime.cpp:239
QString HourString() const
Returns the hour portion of the time as a string.
Definition: iTime.cpp:311
int DayOfYear() const
Returns the day of year portion of the time as an int.
Definition: iTime.cpp:400
double Et() const
Returns the ephemeris time (TDB) representation of the time as a double.
Definition: iTime.h:135
QString UTC() const
Returns the internally stored time, formatted as a UTC time.
Definition: iTime.cpp:425
void setEt(double et)
Definition: iTime.cpp:445
QString DayOfYearString() const
Returns the day of year portion of the time as a string.
Definition: iTime.cpp:391
QString MinuteString() const
Returns the minute portion of the time as a string.
Definition: iTime.cpp:335
double Second() const
Returns the second portion of the time as a double.
Definition: iTime.cpp:376
iTime(const double time)
Constructs a iTime object and initializes it to the time from the argument.
Definition: iTime.h:85
bool operator==(const iTime &time)
Compare two iTime objects for equality.
Definition: iTime.cpp:180
iTime operator-(const double &secondsToSubtract) const
Definition: iTime.cpp:206
bool operator!=(const iTime &time)
Compare two iTime objects for inequality.
Definition: iTime.cpp:169
bool operator<=(const iTime &time)
Compare two iTime objects for less than or equal.
Definition: iTime.cpp:135
~iTime()
Definition: iTime.h:93
QString MonthString() const
Returns the month portion of the time as a string.
Definition: iTime.cpp:263
QString DayString() const
Returns the dat portion of the time as a string.
Definition: iTime.cpp:287
int Month() const
Returns the month portion of the time as an int.
Definition: iTime.cpp:272
int Year() const
Returns the year portion of the time as an int.
Definition: iTime.cpp:248
int Minute() const
Returns the minute portion of the time as an int.
Definition: iTime.cpp:344
void operator=(const QString &time)
Changes the value of the iTime object.
Definition: iTime.cpp:80
void operator+=(const double &secondsToAdd)
Definition: iTime.cpp:192
void operator-=(const double &secondsToSubtract)
Definition: iTime.cpp:218
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:503