<?xml version="1.0" encoding="UTF-8"?>
<!--

 TSDuck - The MPEG Transport Stream Toolkit
 Copyright (c) 2005-2026, Thierry Lelegard
 BSD-2-Clause license, see LICENSE.txt file or https://tsduck.io/license

 TSDuck configuration file for system time.

 About leap seconds, see:
 - https://en.wikipedia.org/wiki/Leap_second
 - https://en.wikipedia.org/wiki/International_Atomic_Time

-->
<tsduck>

  <leap_seconds initial="10">
    <!--
        The leap seconds are officially individually allocated in UTC starting June 30, 1972.
        At that date, the TAI (International Atomic Time) which started in 1958 was already
        10 seconds ahead of UTC. So, there are 10 leap seconds overall between 1958 and 1972
        without precise allocation.
    -->
    <leap after="1972-06-30 23:59:59" count="1"/>
    <leap after="1972-12-31 23:59:59" count="1"/>
    <leap after="1973-12-31 23:59:59" count="1"/>
    <leap after="1974-12-31 23:59:59" count="1"/>
    <leap after="1975-12-31 23:59:59" count="1"/>
    <leap after="1976-12-31 23:59:59" count="1"/>
    <leap after="1977-12-31 23:59:59" count="1"/>
    <leap after="1978-12-31 23:59:59" count="1"/>
    <leap after="1979-12-31 23:59:59" count="1"/>
    <leap after="1981-06-30 23:59:59" count="1"/>
    <leap after="1982-06-30 23:59:59" count="1"/>
    <leap after="1983-06-30 23:59:59" count="1"/>
    <leap after="1985-06-30 23:59:59" count="1"/>
    <leap after="1987-12-31 23:59:59" count="1"/>
    <leap after="1989-12-31 23:59:59" count="1"/>
    <leap after="1990-12-31 23:59:59" count="1"/>
    <leap after="1992-06-30 23:59:59" count="1"/>
    <leap after="1993-06-30 23:59:59" count="1"/>
    <leap after="1994-06-30 23:59:59" count="1"/>
    <leap after="1995-12-31 23:59:59" count="1"/>
    <leap after="1997-06-30 23:59:59" count="1"/>
    <leap after="1998-12-31 23:59:59" count="1"/>
    <leap after="2005-12-31 23:59:59" count="1"/>
    <leap after="2008-12-31 23:59:59" count="1"/>
    <leap after="2012-06-30 23:59:59" count="1"/>
    <leap after="2015-06-30 23:59:59" count="1"/>
    <leap after="2016-12-31 23:59:59" count="1"/>
  </leap_seconds>

</tsduck>
