82 iTime(
const QString &time);
110 iTime operator +(
const double &secondsToAdd)
const;
111 void operator +=(
const double &secondsToAdd);
112 friend iTime operator +(
const double &secondsToAdd,
iTime time);
114 iTime operator -(
const double &secondsToSubtract)
const;
115 double operator -(
const iTime &iTimeToSubtract)
const;
116 void operator -=(
const double &secondsToSubtract);
117 friend iTime operator -(
const double &secondsToSubtract,
iTime time);
143 QString
UTC(
int precision=8)
const;
147 void setEt(
double et);
148 void setUtc(QString utcString);
156 static bool p_lpInitialized;
iTime()
Constructs an empty iTime object.
QString HourString() const
Returns the hour portion of the time as a string.
int Minute() const
Returns the minute portion of the time as an int.
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.
int Hour() const
Returns the hour portion of the time as an int.
bool operator<(const iTime &time)
Compare two iTime objects for less than.
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.
int Year() const
Returns the year portion of the time as an int.
int Day() const
Returns the day portion of the time as an int.
QString UTC(int precision=8) const
Returns the internally stored time, formatted as a UTC time.
iTime(const double time)
Constructs a iTime object and initializes it to the time from the argument.
QString DayOfYearString() const
Returns the day of year portion of the time as a string.
bool operator==(const iTime &time)
Compare two iTime objects for equality.
QString EtString() const
Returns the ephemeris time (TDB) representation of the time as a string.
QString DayString() const
Returns the dat portion of the time as a string.
QString MinuteString() const
Returns the minute portion of the time as a string.
int Month() const
Returns the month portion of the time as an int.
bool operator!=(const iTime &time)
Compare two iTime objects for inequality.
double Second() const
Returns the second portion of the time as a double.
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 SecondString(int precision=8) const
Returns the second portion of the time as a string.
QString MonthString() const
Returns the month portion of the time as a string.
Namespace for ISIS/Bullet specific routines.
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.
double Et() const
Returns the ephemeris time (TDB) representation of the time as a double.
QString YearString() const
Returns the year portion of the time as a string.
int DayOfYear() const
Returns the day of year portion of the time as an int.
static QString CurrentGMT()
Returns the current Greenwich Mean iTime The time is based on the system time, so it is only as accur...