Home | History | Annotate | Line # | Download | only in dist
leapseconds revision 1.7.2.1
      1      1.2       kre # Allowance for leap seconds added to each time zone file.
      2      1.1       apb 
      3      1.1       apb # This file is in the public domain.
      4      1.1       apb 
      5      1.1       apb # This file is generated automatically from the data in the public-domain
      6      1.7       kre # NIST/IERS format leap-seconds.list file, which can be copied from
      7      1.2       kre # <https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list>
      8      1.7       kre # or, in a variant with different comments, from
      9      1.7       kre # <ftp://ftp.boulder.nist.gov/pub/time/leap-seconds.list>.
     10      1.1       apb # For more about leap-seconds.list, please see
     11      1.1       apb # The NTP Timescale and Leap Seconds
     12      1.2       kre # <https://www.eecis.udel.edu/~mills/leap.html>.
     13      1.1       apb 
     14      1.2       kre # The rules for leap seconds are specified in Annex 1 (Time scales) of:
     15      1.2       kre # Standard-frequency and time-signal emissions.
     16      1.2       kre # International Telecommunication Union - Radiocommunication Sector
     17      1.2       kre # (ITU-R) Recommendation TF.460-6 (02/2002)
     18      1.2       kre # <https://www.itu.int/rec/R-REC-TF.460-6-200202-I/>.
     19      1.2       kre # The International Earth Rotation and Reference Systems Service (IERS)
     20      1.2       kre # periodically uses leap seconds to keep UTC to within 0.9 s of UT1
     21      1.2       kre # (a proxy for Earth's angle in space as measured by astronomers)
     22      1.2       kre # and publishes leap second data in a copyrighted file
     23      1.2       kre # <https://hpiers.obspm.fr/iers/bul/bulc/Leap_Second.dat>.
     24      1.2       kre # See: Levine J. Coordinated Universal Time and the leap second.
     25      1.2       kre # URSI Radio Sci Bull. 2016;89(4):30-6. doi:10.23919/URSIRSB.2016.7909995
     26      1.2       kre # <https://ieeexplore.ieee.org/document/7909995>.
     27      1.2       kre 
     28      1.2       kre # There were no leap seconds before 1972, as no official mechanism
     29      1.2       kre # accounted for the discrepancy between atomic time (TAI) and the earth's
     30      1.2       kre # rotation.  The first ("1 Jan 1972") data line in leap-seconds.list
     31      1.2       kre # does not denote a leap second; it denotes the start of the current definition
     32      1.2       kre # of UTC.
     33      1.2       kre 
     34      1.2       kre # All leap-seconds are Stationary (S) at the given UTC time.
     35      1.2       kre # The correction (+ or -) is made at the given time, so in the unlikely
     36      1.2       kre # event of a negative leap second, a line would look like this:
     37      1.2       kre # Leap	YEAR	MON	DAY	23:59:59	-	S
     38      1.2       kre # Typical lines look like this:
     39      1.2       kre # Leap	YEAR	MON	DAY	23:59:60	+	S
     40      1.1       apb Leap	1972	Jun	30	23:59:60	+	S
     41      1.1       apb Leap	1972	Dec	31	23:59:60	+	S
     42      1.1       apb Leap	1973	Dec	31	23:59:60	+	S
     43      1.1       apb Leap	1974	Dec	31	23:59:60	+	S
     44      1.1       apb Leap	1975	Dec	31	23:59:60	+	S
     45      1.1       apb Leap	1976	Dec	31	23:59:60	+	S
     46      1.1       apb Leap	1977	Dec	31	23:59:60	+	S
     47      1.1       apb Leap	1978	Dec	31	23:59:60	+	S
     48      1.1       apb Leap	1979	Dec	31	23:59:60	+	S
     49      1.1       apb Leap	1981	Jun	30	23:59:60	+	S
     50      1.1       apb Leap	1982	Jun	30	23:59:60	+	S
     51      1.1       apb Leap	1983	Jun	30	23:59:60	+	S
     52      1.1       apb Leap	1985	Jun	30	23:59:60	+	S
     53      1.1       apb Leap	1987	Dec	31	23:59:60	+	S
     54      1.1       apb Leap	1989	Dec	31	23:59:60	+	S
     55      1.1       apb Leap	1990	Dec	31	23:59:60	+	S
     56      1.1       apb Leap	1992	Jun	30	23:59:60	+	S
     57      1.1       apb Leap	1993	Jun	30	23:59:60	+	S
     58      1.1       apb Leap	1994	Jun	30	23:59:60	+	S
     59      1.1       apb Leap	1995	Dec	31	23:59:60	+	S
     60      1.1       apb Leap	1997	Jun	30	23:59:60	+	S
     61      1.1       apb Leap	1998	Dec	31	23:59:60	+	S
     62      1.1       apb Leap	2005	Dec	31	23:59:60	+	S
     63      1.1       apb Leap	2008	Dec	31	23:59:60	+	S
     64      1.1       apb Leap	2012	Jun	30	23:59:60	+	S
     65      1.2       kre Leap	2015	Jun	30	23:59:60	+	S
     66      1.2       kre Leap	2016	Dec	31	23:59:60	+	S
     67      1.2       kre 
     68      1.2       kre # UTC timestamp when this leap second list expires.
     69      1.2       kre # Any additional leap seconds will come after this.
     70      1.2       kre # This Expires line is commented out for now,
     71      1.2       kre # so that pre-2020a zic implementations do not reject this file.
     72  1.7.2.1  perseant #Expires 2025	Dec	28	00:00:00
     73      1.2       kre 
     74      1.2       kre # POSIX timestamps for the data in this file:
     75  1.7.2.1  perseant #updated 1736208000 (2025-01-07 00:00:00 UTC)
     76  1.7.2.1  perseant #expires 1766880000 (2025-12-28 00:00:00 UTC)
     77      1.2       kre 
     78      1.7       kre #	Updated through IERS Bulletin C (https://hpiers.obspm.fr/iers/bul/bulc/bulletinc.dat)
     79  1.7.2.1  perseant #	File expires on 28 December 2025
     80