A calendar library for OCaml. API documentation
The Calendar library provides types and operations over dates and times. This library requires OCaml 4.03.0 or higher. Older OCaml versions are unsupported.
CHANGES Information about the last changesCOPYING Information about copyrightLGPL Information about LGPLREADME.md This filecalendar_faq.txt FAQ frow which some algorithms comedoc HTML documentation of the APIsrc Source files directory_build/default/ Directory containing the built librarytests Test files directoryutils Some utilitiesThis program is distributed under the GNU LGPL 2.1. See the enclosed file COPYING for more details.
Easiest way is opam install calendar.
To manually install the library, you first need to install dune and re. Then:
$ dune build @install
$ dune installYou can remove files installed with :
dune uninstall
Use the calendar library using ocamlfind. In dune, it means having an entry (libraries calendar).
The doc directory contains an html documentation of the .mli files. This documentation is available online at http://calendar.forge.ocamlcore.org/doc/
A description of some Makefile entries follows :
make test will execute some tests. You'll need alcotest.
To run only some tests: dune exec ./tests/test.exe test time (for example)
make doc to produce the documentation of the API. You need odocYou can report bugs at https://github.com/ocaml-community/calendar/issues