OCaml Forge

File Release Notes and Changelog

Release Name: 2.0

Change Log

* [Licence] license changes from LGPLv2 to LGPLv2.1
* [Compilation] use -pack: all modules of the library are packed inside a single module CalendarLib (calendar now requires ocaml >= 3.09.1)
* new modules Time_sig, Date_sig and Calendar_sig
* new module Ftime (time implementation in which seconds are floats) (Hezekiah M. Carty's suggestion)
* new module Calendar_builder (generic calendar implementation)
* new module Fcalendar (calendar implementation using Ftime)
* new module Calendar.Precise (calendar with a best precision)
* hash functions are provided
* [Printer] new modules Printer.Ftime and Printer.Fcalendar
* [Printer] modules Printer.Date, Printer.Time and Printer.Calendar respectively replace Printer.DatePrinter, Printer.TimePrinter and 
Printer.CalendarPrinter. These last modules still exist but are deprecated.
* [Time_Zone] new function Time_Zone.on
* [Date] new function Date.from_day_of_year (Hezekiah M. Carty's suggestion)
* [Date] new function Date.is_valid_date (Richard Jones' suggestion)
* new module Utils
* new module Version (information about version of calendar)
* [Documentation] add tags @example, @raise and @see in the API documentation