leapseconds revision 39898
139871Sphk# @(#)leapseconds 7.9 22742Swollman 32742Swollman# Allowance for leapseconds added to each timezone file. 42742Swollman 52742Swollman# The International Earth Rotation Service periodically uses leap seconds 62742Swollman# to keep UTC to within 0.9 s of TAI (atomic time); see 72742Swollman# Terry J Quinn, The BIPM and the accurate measure of time, 82742Swollman# Proc IEEE 79, 7 (July 1991), 894-905. 92742Swollman# There were no leap seconds before 1972, because the official mechanism 102742Swollman# accounting for the discrepancy between atomic time and the earth's rotation 112742Swollman# did not exist until the early 1970s. 122742Swollman 132742Swollman# The correction (+ or -) is made at the given time, so lines 142742Swollman# will typically look like: 152742Swollman# Leap YEAR MON DAY 23:59:60 + R/S 162742Swollman# or 172742Swollman# Leap YEAR MON DAY 23:59:59 - R/S 182742Swollman 192742Swollman# If the leapsecond is Rolling (R) the given time is local time 202742Swollman# If the leapsecond is Stationary (S) the given time is GMT 212742Swollman 222742Swollman# Leap YEAR MONTH DAY HH:MM:SS CORR R/S 232742SwollmanLeap 1972 Jun 30 23:59:60 + S 242742SwollmanLeap 1972 Dec 31 23:59:60 + S 252742SwollmanLeap 1973 Dec 31 23:59:60 + S 262742SwollmanLeap 1974 Dec 31 23:59:60 + S 272742SwollmanLeap 1975 Dec 31 23:59:60 + S 282742SwollmanLeap 1976 Dec 31 23:59:60 + S 292742SwollmanLeap 1977 Dec 31 23:59:60 + S 302742SwollmanLeap 1978 Dec 31 23:59:60 + S 312742SwollmanLeap 1979 Dec 31 23:59:60 + S 322742SwollmanLeap 1981 Jun 30 23:59:60 + S 332742SwollmanLeap 1982 Jun 30 23:59:60 + S 342742SwollmanLeap 1983 Jun 30 23:59:60 + S 352742SwollmanLeap 1985 Jun 30 23:59:60 + S 362742SwollmanLeap 1987 Dec 31 23:59:60 + S 372742SwollmanLeap 1989 Dec 31 23:59:60 + S 382742SwollmanLeap 1990 Dec 31 23:59:60 + S 392742SwollmanLeap 1992 Jun 30 23:59:60 + S 402742SwollmanLeap 1993 Jun 30 23:59:60 + S 412742SwollmanLeap 1994 Jun 30 23:59:60 + S 4239871SphkLeap 1995 Dec 31 23:59:60 + S 4339871SphkLeap 1997 Jun 30 23:59:60 + S 4439898SphkLeap 1998 Dec 31 23:59:60 + S 45