GWOLLUM 4.2.0
Tools for gravitational-wave analyses
Loading...
Searching...
No Matches
LeapSeconds.h
Go to the documentation of this file.
1
5#ifndef LEAPSECONDS_H
6#define LEAPSECONDS_H
7
18static const struct leaps_table{
19 double jd;
20 int gpssec;
21 int taiutc;
22}
23
24 leaps[] =
25 {
26 {2444239.5, -43200, 19}, /* 1980-Jan-01 */
27 {2444786.5, 46828800, 20}, /* 1981-Jul-01 */
28 {2445151.5, 78364801, 21}, /* 1982-Jul-01 */
29 {2445516.5, 109900802, 22}, /* 1983-Jul-01 */
30 {2446247.5, 173059203, 23}, /* 1985-Jul-01 */
31#if 0
32 /* NOTE: IF THIS WERE A NEGATIVE LEAP SECOND, INSERT AS FOLLOWS */
33 {2447161.5, 252028803, 22}, /* 1988-Jan-01 EXAMPLE ONLY! */
34#endif
35 {2447161.5, 252028804, 24}, /* 1988-Jan-01 */
36 {2447892.5, 315187205, 25}, /* 1990-Jan-01 */
37 {2448257.5, 346723206, 26}, /* 1991-Jan-01 */
38 {2448804.5, 393984007, 27}, /* 1992-Jul-01 */
39 {2449169.5, 425520008, 28}, /* 1993-Jul-01 */
40 {2449534.5, 457056009, 29}, /* 1994-Jul-01 */
41 {2450083.5, 504489610, 30}, /* 1996-Jan-01 */
42 {2450630.5, 551750411, 31}, /* 1997-Jul-01 */
43 {2451179.5, 599184012, 32}, /* 1999-Jan-01 */
44 {2453736.5, 820108813, 33}, /* 2006-Jan-01 */
45 {2454832.5, 914803214, 34}, /* 2009-Jan-01 */
46 {2456109.5, 1025136015, 35}, /* 2012-Jul-01 */
47 {2457204.5, 1119744016, 36}, /* 2015-Jul-01 */
48 {2457754.5, 1167264017, 37} /* 2017-Jan-01 */
49 };
50
51static const unsigned int numleaps = sizeof( leaps ) / sizeof( *leaps );
52
53#endif /* LEAPSECONDS_H */