Legend:
Library
Module
Module type
Parameter
Class
Class type
Handling the leap second archive
Overview
This module defines a data structure representing the history of leap seconds published in Bulletin C by the International Earth Rotation and Reference Systems Service (IERS). This data is used in converting between the Coordinated Universal Time (UTC) and Temps Atomique International (TAI) timescales. Bulletin C is published every six months and whenever necessary and a machine readable archive of the historical record is provided as a public service by the United States National Institute of Standards and Technology (NIST) and the Internet Engineering Task Force (IETF) at the following locations:
The data intrinsically inclued in the current implementation expires on December 28, 2021. Use the load_from_nist_file function to use a more recent update of the leap second archive.
Use current () to obtain the current leap second archive.
val load_from_nist_file : string -> unit
Use load_from_nist_file filename to override the internal archive data with the content of filename, a file copied from the data published by NIST and IETF. Raise an exception if the file cannot be read or a parsing error arises.