11#define AVG_DELTA_UT1 0.087497
double decimal
Definition decimal.hpp:15
Definition calibrate.cpp:7
decimal getGreenwichMeanSiderealTime(DateTime &time)
Obtains the Greenwich Mean Sidereal Time in decimal format.
Definition time.cpp:81
DateTime getUTCTime()
Obtains the current UTC time in unix/epoch seconds.
Definition time.cpp:20
DateTime getUT1Time()
Obtains the current UT1 time in unix/epoch seconds.
Definition time.cpp:35
decimal getCurrentJulianDateTime()
Obtains the current Julian date in decimal format.
Definition time.cpp:67
decimal getCurrentGreenwichMeanSiderealTime()
Obtians the current Greenwich Mean Sidereal Time in decimal format.
Definition time.cpp:97
decimal getJulianDateTime(DateTime &time)
Obtains the current Julian date in decimal format.
Definition time.cpp:49
DateTime represents a date and time.
Definition time.hpp:17
int year
Year (e.g., 2023)
Definition time.hpp:21
int hour
Hour of the day (0-23)
Definition time.hpp:27
std::time_t epochs
Seconds since epoch.
Definition time.hpp:19
int minute
Minute of the hour (0-59)
Definition time.hpp:29
int day
Day of the month (1-31)
Definition time.hpp:25
int second
Second of the minute (0-60)
Definition time.hpp:31
int month
Month (1-12)
Definition time.hpp:23