62 double mjd = double(tjd) + 40000.0 + double(tics) * tics2days;
66 if ((tjd < 8798) || ((tjd == 8798) && (tics < 28800000))) {
94 const double mjd_of_clockcor = 48798.04166666666424134746;
100 double mjd = time.
mjd(
"UTC");
101 if (mjd < mjd_of_clockcor) {
102 mjd += clockcor_days;
106 int tjd = int(mjd + half_tics2days) - 40000;
128 const double mjd_of_clockcor = 48798.04166666666424134746;
130 const int tics_in_day = 691200000;
134 double mjd = time.
mjd(
"UTC");
135 if (mjd < mjd_of_clockcor) {
136 mjd += clockcor_days;
140 int tics = int((mjd -
double(
int(mjd))) * tics_in_day + 0.5);
144 while (tics >= tics_in_day) {
GTime com_time(const int &tjd, const int &tics)
Convert TJD and COMPTEL tics in GTime object.
int com_tjd(const GTime &time)
Convert GTime in COMPTEL TJD.
int com_tics(const GTime &time)
Convert GTime in COMPTEL tics.
double mjd(void) const
Return time in Modified Julian Days (TT)
Time class interface definition.