package dates_calc

  1. Overview
  2. Docs
A date calculation library

Install

Dune Dependency

Authors

Maintainers

Sources

0.0.4.tar.gz
md5=514e614ade7b8f2b1e5cb46f363fc04b
sha512=7e5c3de6e1ef87431bf2a2bea9d635def1d243b37b3e7ad4ca2fd4df2b01b480154d04ea99ed11af088321490c486cb0f897e806687b9d0ebd3d7b09bc92a799

Description

A date calculation library, with exact operators to add a given number of days to a date, and approximate operators to add months or years.

Published: 02 Sep 2022

README

A date calculation library

Aim

This library handles dates (DD-MM-YYYY) and periods (in days, months and years). It provides operators on dates and periods. The addition of dates and periods containing months or years is a tricky case that may require roundings.

This library is a work in progress.

Installation

Just run opam install dates_calc or opam install . if you've cloned the git repository.

Dependencies (2)

  1. ocaml >= "4.11.0"
  2. dune >= "2.7"

Dev Dependencies (3)

  1. odoc with-doc
  2. qcheck with-test & >= "0.15"
  3. alcotest with-test & >= "1.5.0"

Used by (1)

  1. catala >= "0.8.0"

Conflicts

None