Calendar
A calendar library for OCaml. API documentation
- Introduction
- Contents
- Copyright
- Installation
- How to use
- Documentation
- Makefile
- Contact the developers
1- Introduction
The Calendar library provides types and operations over dates and times. This library requires OCaml 3.09.1 or higher. OCaml 3.09 is usable at your own risk. Older OCaml versions are unsupported.
2- Contents
CHANGESInformation about the last changesCOPYINGInformation about copyrightLGPLInformation about LGPLREADME.mdThis fileMakefile.inMakefile used by configureconfigureScript generating Makefileconfigure.inScript generating configure (with autoconf)calendar_faq.txtFAQ frow which some algorithms comedocHTML documentation of the APIsrcSource files directorytargetDirectory containing the built librarytestsTest files directoryutilsSome utilities
3- Copyright
This program is distributed under the GNU LGPL 2.1. See the enclosed file COPYING for more details.
4- Installation
You need Objective Caml >= 3.09.1 to compile the sources. You need too ocamlfind coming with findlib and available at: http://www.ocaml-programming.de/packages/
- Configure with
./configure. - Compile with
make. - Install with
make install(you may need superuser permissions). - Clean the directory with
make clean.
You can remove files installed by "make install" at any time with :
make uninstall (you may need superuser permissions)
5- How to use
(a) Use the GODI package of calendar !
see: http://godi.ocaml-programming.de
(b) Or: simply link calendar with your files using ocamlfind.
For example, if you have a file foo_using_calendar.ml, compile it as follow:
ocamlfind ocamlc -package calendar -linkpkg foo_using_calendar.ml
or
ocamlfind ocamlopt -package calendar -linkpkg foo_using_calendar.ml
(c) Or: do not use ocamlfind, link calendar with unix and str and specify the directory containing calendar:
ocamlc -I /usr/local/lib/ocaml/site-lib/calendar unix.cma calendarLib.cmo foo_using_calendar.ml
or
ocamlopt -I /usr/local/lib/ocaml/site-lib/calendar unix.cmxa calendarLib.cmx foo_using_calendar.ml
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 :
-
i. tests Execute some tests
-
ii. wc Give informations about the size of the source files. You need ocamlwc
(*). -
iii. doc Produce the documentation of the API. You need ocamldoc
(**).
(*) ocamlwc is available at http://www.lri.fr/~filliatr/software.en.html
(**) ocamldoc is included with Objective Caml
8- Contact the developers
You can report bugs at https://github.com/ocaml-community/calendar/issues

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
