24 #ifndef PSS_ASTROTYPES_UNITS_J2000CLOCK_H
25 #define PSS_ASTROTYPES_UNITS_J2000CLOCK_H
30 namespace astrotypes {
46 #endif // PSS_ASTROTYPES_UNITS_J2000CLOCK_H
PSS_UNITS_DEFINE_CLOCK(J2000Clock, julian_day(JulianClock::diff_from_system_epoch.count()-2451545), J2000, false)
a std::chrono compatible clock representing the J2000 epock
J2000Clock::time_point J2000
std::chrono::duration< double, std::ratio< 86400 > > julian_day
representation of julian time is in days