00001
00002
00003
00004
00005 #ifndef LEAPSECONDS_H
00006 #define LEAPSECONDS_H
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 static const struct leaps_table { double jd; int gpssec; int taiutc; } leaps[] =
00020 {
00021 {2444239.5, -43200, 19},
00022 {2444786.5, 46828800, 20},
00023 {2445151.5, 78364801, 21},
00024 {2445516.5, 109900802, 22},
00025 {2446247.5, 173059203, 23},
00026 #if 0
00027
00028 {2447161.5, 252028803, 22},
00029 #endif
00030 {2447161.5, 252028804, 24},
00031 {2447892.5, 315187205, 25},
00032 {2448257.5, 346723206, 26},
00033 {2448804.5, 393984007, 27},
00034 {2449169.5, 425520008, 28},
00035 {2449534.5, 457056009, 29},
00036 {2450083.5, 504489610, 30},
00037 {2450630.5, 551750411, 31},
00038 {2451179.5, 599184012, 32},
00039 {2453736.5, 820108813, 33},
00040 {2454832.5, 914803214, 34},
00041 {2456109.5, 1025136015, 35},
00042 {2457204.5, 1119744016, 36}
00043 };
00044 static const int numleaps = sizeof( leaps ) / sizeof( *leaps );
00045
00046 #endif