leapseconds revision 342668
1287020Sdelphij# Allowance for leap seconds added to each time zone file.
2267460Sedwin
3287020Sdelphij# This file is in the public domain.
42742Swollman
5287020Sdelphij# This file is generated automatically from the data in the public-domain
6339630Sphilip# leap-seconds.list file, which can be copied from
7339630Sphilip# <ftp://ftp.nist.gov/pub/time/leap-seconds.list>
8339630Sphilip# or <ftp://ftp.boulder.nist.gov/pub/time/leap-seconds.list>
9339630Sphilip# or <ftp://tycho.usno.navy.mil/pub/ntp/leap-seconds.list>.
10287020Sdelphij# For more about leap-seconds.list, please see
11287020Sdelphij# The NTP Timescale and Leap Seconds
12339630Sphilip# <https://www.eecis.udel.edu/~mills/leap.html>.
13287020Sdelphij
14287020Sdelphij# The International Earth Rotation and Reference Systems Service
15287020Sdelphij# periodically uses leap seconds to keep UTC to within 0.9 s of UT1
16339630Sphilip# (which measures the true angular orientation of the earth in space)
17339630Sphilip# and publishes leap second data in a copyrighted file
18339630Sphilip# <https://hpiers.obspm.fr/iers/bul/bulc/Leap_Second.dat>.
19339630Sphilip# See: Levine J. Coordinated Universal Time and the leap second.
20325159Sphilip# URSI Radio Sci Bull. 2016;89(4):30-6. doi:10.23919/URSIRSB.2016.7909995
21339630Sphilip# <https://ieeexplore.ieee.org/document/7909995>.
22342668Sphilip
232742Swollman# There were no leap seconds before 1972, because the official mechanism
242742Swollman# accounting for the discrepancy between atomic time and the earth's rotation
25342668Sphilip# did not exist.  The first ("1 Jan 1972") data line in leap-seconds.list
26342668Sphilip# does not denote a leap second; it denotes the start of the current definition
27342668Sphilip# of UTC.
282742Swollman
292742Swollman# The correction (+ or -) is made at the given time, so lines
302742Swollman# will typically look like:
312742Swollman#	Leap	YEAR	MON	DAY	23:59:60	+	R/S
322742Swollman# or
332742Swollman#	Leap	YEAR	MON	DAY	23:59:59	-	R/S
342742Swollman
35339630Sphilip# If the leap second is Rolling (R) the given time is local time (unused here).
362742SwollmanLeap	1972	Jun	30	23:59:60	+	S
372742SwollmanLeap	1972	Dec	31	23:59:60	+	S
382742SwollmanLeap	1973	Dec	31	23:59:60	+	S
392742SwollmanLeap	1974	Dec	31	23:59:60	+	S
402742SwollmanLeap	1975	Dec	31	23:59:60	+	S
412742SwollmanLeap	1976	Dec	31	23:59:60	+	S
422742SwollmanLeap	1977	Dec	31	23:59:60	+	S
432742SwollmanLeap	1978	Dec	31	23:59:60	+	S
442742SwollmanLeap	1979	Dec	31	23:59:60	+	S
452742SwollmanLeap	1981	Jun	30	23:59:60	+	S
462742SwollmanLeap	1982	Jun	30	23:59:60	+	S
472742SwollmanLeap	1983	Jun	30	23:59:60	+	S
482742SwollmanLeap	1985	Jun	30	23:59:60	+	S
492742SwollmanLeap	1987	Dec	31	23:59:60	+	S
502742SwollmanLeap	1989	Dec	31	23:59:60	+	S
512742SwollmanLeap	1990	Dec	31	23:59:60	+	S
522742SwollmanLeap	1992	Jun	30	23:59:60	+	S
532742SwollmanLeap	1993	Jun	30	23:59:60	+	S
542742SwollmanLeap	1994	Jun	30	23:59:60	+	S
5539871SphkLeap	1995	Dec	31	23:59:60	+	S
5639871SphkLeap	1997	Jun	30	23:59:60	+	S
5739898SphkLeap	1998	Dec	31	23:59:60	+	S
58147771SphkLeap	2005	Dec	31	23:59:60	+	S
59181424SedwinLeap	2008	Dec	31	23:59:60	+	S
60233445SedwinLeap	2012	Jun	30	23:59:60	+	S
61287020SdelphijLeap	2015	Jun	30	23:59:60	+	S
62307361SbaptLeap	2016	Dec	31	23:59:60	+	S
63267460Sedwin
64339630Sphilip# POSIX timestamps for the data in this file:
65339630Sphilip#updated 1467936000
66339630Sphilip#expires 1561680000
67339630Sphilip
68339630Sphilip#	Updated through IERS Bulletin C56
69339630Sphilip#	File expires on:  28 June 2019
70