The Calendar Library (Calendar for short) is an Objective Caml library for handling dates and times in your program.
Calendar mainly implements 3 datatypes:
The code is free software: the license is LGPL (version 2.1), with the usual Ocaml linking exception.
Copyright © 2003-2011 Julien Signoles
Calendar can be downloaded from the forge as usual.
Calendar requires Objective Caml 3.09.1 or higher. OCaml 3.09 is usable at your own risks. Older OCaml versions are unsupported.
The current version of the library is 2.03.2. See the list of changes.
The API documentation is available online. It is an ocamldoc documentation of the .mli files.
Some algorithms implemented in the library come from the online Calendar FAQ.