%××××××××××××××××××××××××××××××××××××××××××××××××
% TDT = Terrestial Dynamical Time. Was used 1984-2000 as a time-scale of
% ephemerides from the Earth's surface. TDT = TAI + 32.184. Replaced
% ET (Ephemeris Time) in 1984, was replaced by TT (Terrestial Time)
% in 2001.
% TDT = 地球力学时.在1984-2000年间作为地球表面星历表的时间单位而使用. TDT = TAI + 32.184.
% 1984年TDT取代了ET(Ephemeris Time),在2001年TDT被TT (Terrestial Time)取代.
% TT = Terrestial Time. Originally used instead of TDT or TDB when the
% difference between them didn't matter. Was defined in 1991 to be
% consistent with the SI second and the General Theory of Relativity.
% Replaced TDT in the ephemerides from 2001 and on.
% TT = 地球时.起初因为差别不大使用TDT或TDB. 为了与SI 秒和广义相对论保持一致,
% 1991年定义了TT. 自2001年至今在星历表中取代了TDT.
%××××××××××××××××××××××××××××××××××××××××××××××××
% TAI与TDT的转换(经过stk检验)
%此处仅进行简易验证,不考虑日期的进位
% 32.184单位为秒
%输入数据1:
%TAIG时间:10 Jul 2005 04:01:17.000 TAIG(stk)
%stk中的TDTG时间:10 Jul 2005 04:01:49.184 TDTG
%程序计算时间:1min49.184s
TAI=17.000;
%输入数据2:
%TAIG时间:11 Jul 2005 04:58:32.000 TAIG
%stk TDTG时间:11 Jul 2005 04:59:04.184 TDTG
%程序计算时间:59min4.184s
TAI=32.000;
TDT=TAI+32.184