A calendar library for OCaml. API documentation
- Introduction
- Contents
- Copyright
- Installation
- How to use
- Documentation
- Makefile
- Contact the developers
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.
CHANGESInformation about the last changesCOPYINGInformation about copyrightLGPLInformation about LGPLREADME.mdThis filecalendar_faq.txtFAQ frow which some algorithms comedocHTML documentation of the APIsrcSource files directory_build/default/Directory containing the built librarytestsTest files directoryutilsSome utilities
This 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 install
You 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 testwill execute some tests. You'll need alcotest.To run only some tests:
dune exec ./tests/test.exe test time(for example) -
make docto produce the documentation of the API. You need odoc
You can report bugs at https://github.com/ocaml-community/calendar/issues