SO3Engine
|
SO3UniversalClock.cpp
Go to the documentation of this file.
43void SUniversalClock::SetGregorianDateTime(const int& year, const int& month, const int& day, const int& hour, const int& minute, const double& second)
46 SetJulianDay(SAstronomy::GetJulianDayFromGregorianDateTime(year, month, day, hour, minute, second));
49void SUniversalClock::GetGregorianDateTime(int& year, int& month, int& day, int& hour, int& minute, double& second)
52 SAstronomy::GetGregorianDateTimeFromJulianDay(GetJulianDay(), year, month, day, hour, minute, second);
static void GetGregorianDateTimeFromJulianDay(const double &julianDay, int &year, int &month, int &day, int &hour, int &minute, double &second)
Definition SO3Astronomy.cpp:303
static double GetJulianDayFromGregorianDateTime(const int &year, const int &month, const int &day, const int &hour, const int &minute, const double &second)
Definition SO3Astronomy.cpp:265
double GetJulianSecond() const
Definition SO3UniversalClock.cpp:75
void SetJulianDay(const double &value)
Definition SO3UniversalClock.cpp:55
void SetTimeScale(const float &scale)
Definition SO3UniversalClock.cpp:88
double GetJulianSecondDifference() const
Definition SO3UniversalClock.cpp:82
void GetGregorianDateTime(int &year, int &month, int &day, int &hour, int &minute, double &second)
Definition SO3UniversalClock.cpp:49
void SetGregorianDateTime(const int &year, const int &month, const int &day, const int &hour, const int &minute, const double &second)
Definition SO3UniversalClock.cpp:43
static const double SECONDS_PER_DAY
Number of seconds per day; exactly 60*60*24.
Definition SO3UniversalClock.h:48
double GetJulianDayDifference() const
Definition SO3UniversalClock.cpp:69
Definition SO3DataScol.h:38
Generated by 1.9.8