leapseconds.awk (12a899b63253eee273e8d44deaed5f4ba311bcc8) leapseconds.awk (dc505d53dcc15636aea9df8c03298f8c32147fa9)
1# Generate zic format 'leapseconds' from NIST format 'leap-seconds.list'.
2
3# This file is in the public domain.
4
5# This program uses awk arithmetic. POSIX requires awk to support
6# exact integer arithmetic only through 10**10, which means for NTP
7# timestamps this program works only to the year 2216, which is the
8# year 1900 plus 10**10 seconds. However, in practice

--- 10 unchanged lines hidden (view full) ---

19 print "# Allowance for leap seconds added to each time zone file."
20 print ""
21 print "# This file is in the public domain."
22 print ""
23 print "# This file is generated automatically from the data in the public-domain"
24 print "# NIST format leap-seconds.list file, which can be copied from"
25 print "# <ftp://ftp.nist.gov/pub/time/leap-seconds.list>"
26 print "# or <ftp://ftp.boulder.nist.gov/pub/time/leap-seconds.list>."
1# Generate zic format 'leapseconds' from NIST format 'leap-seconds.list'.
2
3# This file is in the public domain.
4
5# This program uses awk arithmetic. POSIX requires awk to support
6# exact integer arithmetic only through 10**10, which means for NTP
7# timestamps this program works only to the year 2216, which is the
8# year 1900 plus 10**10 seconds. However, in practice

--- 10 unchanged lines hidden (view full) ---

19 print "# Allowance for leap seconds added to each time zone file."
20 print ""
21 print "# This file is in the public domain."
22 print ""
23 print "# This file is generated automatically from the data in the public-domain"
24 print "# NIST format leap-seconds.list file, which can be copied from"
25 print "# <ftp://ftp.nist.gov/pub/time/leap-seconds.list>"
26 print "# or <ftp://ftp.boulder.nist.gov/pub/time/leap-seconds.list>."
27 print "# The NIST file is used instead of its IERS upstream counterpart"
28 print "# <https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list>"
29 print "# because under US law the NIST file is public domain"
30 print "# whereas the IERS file's copyright and license status is unclear."
27 print "# For more about leap-seconds.list, please see"
28 print "# The NTP Timescale and Leap Seconds"
29 print "# <https://www.eecis.udel.edu/~mills/leap.html>."
30 print ""
31 print "# The rules for leap seconds are specified in Annex 1 (Time scales) of:"
32 print "# Standard-frequency and time-signal emissions."
33 print "# International Telecommunication Union - Radiocommunication Sector"
34 print "# (ITU-R) Recommendation TF.460-6 (02/2002)"

--- 202 unchanged lines hidden ---
31 print "# For more about leap-seconds.list, please see"
32 print "# The NTP Timescale and Leap Seconds"
33 print "# <https://www.eecis.udel.edu/~mills/leap.html>."
34 print ""
35 print "# The rules for leap seconds are specified in Annex 1 (Time scales) of:"
36 print "# Standard-frequency and time-signal emissions."
37 print "# International Telecommunication Union - Radiocommunication Sector"
38 print "# (ITU-R) Recommendation TF.460-6 (02/2002)"

--- 202 unchanged lines hidden ---