57 mJulianDayBase = value;
85 return mCurrentTime - mLastUpdateTime;
100 mLastUpdateTime = mCurrentTime;
101 mCurrentTime += time * mTimeScale;
static void GetGregorianDateTimeFromJulianDay(const double &julianDay, int &year, int &month, int &day, int &hour, int &minute, double &second)
static const double J2000
January 1, 2000, noon.
static double GetJulianDayFromGregorianDateTime(const int &year, const int &month, const int &day, const int &hour, const int &minute, const double &second)
double GetJulianSecond() const
void SetJulianDay(const double &value)
void SetTimeScale(const float &scale)
double GetJulianSecondDifference() const
void GetGregorianDateTime(int &year, int &month, int &day, int &hour, int &minute, double &second)
double GetJulianDay() const
void Update(const float &time)
void SetGregorianDateTime(const int &year, const int &month, const int &day, const int &hour, const int &minute, const double &second)
static const double SECONDS_PER_DAY
Number of seconds per day; exactly 60*60*24.
double GetJulianDayDifference() const
float GetTimeScale() const