78 iTime(
const QString &time);
106 iTime operator +(
const double &secondsToAdd)
const;
107 void operator +=(
const double &secondsToAdd);
108 friend iTime operator +(
const double &secondsToAdd,
iTime time);
110 iTime operator -(
const double &secondsToSubtract)
const;
111 double operator -(
const iTime &iTimeToSubtract)
const;
112 void operator -=(
const double &secondsToSubtract);
113 friend iTime operator -(
const double &secondsToSubtract,
iTime time);
143 void setEt(
double et);
144 void setUtc(QString utcString);
153 static bool p_lpInitialized;
iTime()
Constructs an empty iTime object.
QString EtString() const
Returns the ephemeris time (TDB) representation of the time as a string.
static QString CurrentLocalTime()
Returns the current local time This time is taken directly from the system clock, so if the system cl...
Parse and return pieces of a time string.
QString SecondString() const
Returns the second portion of the time as a string.
int Day() const
Returns the day portion of the time as an int.
bool operator<(const iTime &time)
Compare two iTime objects for less than.
int Hour() const
Returns the hour portion of the time as an int.
bool operator>=(const iTime &time)
Compare two iTime objects for greater than or equal.
bool operator>(const iTime &time)
Compare two iTime objects for greater than.
QString YearString() const
Returns the year portion of the time as a string.
QString HourString() const
Returns the hour portion of the time as a string.
int DayOfYear() const
Returns the day of year portion of the time as an int.
double Et() const
Returns the ephemeris time (TDB) representation of the time as a double.
QString UTC() const
Returns the internally stored time, formatted as a UTC time.
QString DayOfYearString() const
Returns the day of year portion of the time as a string.
QString MinuteString() const
Returns the minute portion of the time as a string.
double Second() const
Returns the second portion of the time as a double.
iTime(const double time)
Constructs a iTime object and initializes it to the time from the argument.
bool operator==(const iTime &time)
Compare two iTime objects for equality.
void UnloadLeapSecondKernel()
Uses the Naif routines to unload the leap second kernel.
bool operator!=(const iTime &time)
Compare two iTime objects for inequality.
double p_et
The ephemeris representaion of the original string passed into the constructor or the operator= membe...
bool operator<=(const iTime &time)
Compare two iTime objects for less than or equal.
QString MonthString() const
Returns the month portion of the time as a string.
QString DayString() const
Returns the dat portion of the time as a string.
int Month() const
Returns the month portion of the time as an int.
int Year() const
Returns the year portion of the time as an int.
int Minute() const
Returns the minute portion of the time as an int.
void LoadLeapSecondKernel()
Uses the Naif routines to load the most current leap second kernel.
void operator=(const QString &time)
Changes the value of the iTime object.
static QString CurrentGMT()
Returns the current Greenwich Mean iTime The time is based on the system time, so it is only as accur...