package calendar
Install
Dune Dependency
Authors
Maintainers
Sources
md5=8c7207407fc6b4d0bd3d05ed3c13f91a
sha512=cf8a5cfbfb8879da7bcacf765d5461523cbc4f0c13133dfb2f311b051ed95b5f72815af5ca2836294a793d9b57bfc4cc1abbb8b54e17954cb4ecc99e1743bdc3
README.md.html
Calendar
A calendar library for OCaml. API documentation
1- Introduction
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.
2- Contents
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 utilities
3- Copyright
This program is distributed under the GNU LGPL 2.1. See the enclosed file COPYING for more details.
4- Installation
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
5- How to use
Use the calendar
library using ocamlfind. In dune, it means having an entry (libraries calendar)
.
6- Documentation
The doc directory contains an html documentation of the .mli files. This documentation is available online at http://calendar.forge.ocamlcore.org/doc/
7- Makefile
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 odoc
8- Contact the developers
You can report bugs at https://github.com/ocaml-community/calendar/issues