package lunar

  1. Overview
  2. Docs
A very small date management library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

lunar-1.2.0.tbz
sha256=41e6a4abdfd6c53a1b4663a887c3dd4d62201349ed4407ed2c2eca8d4e4c473e
sha512=171c1330163aeb818586276a2902f619d2b23521a1bc79b996e5cc2ecb2961bfc9b36e86ee947d0c9b89d3992894203c853f3af2c61551a831012ce396858888

doc/README.html

lunar

From a business perspective, Lunar could be described as a composable library for manipulating dates, timestamps, and ranges using a proleptic Gregorian representation.

What does Lunar offer

  • Working with Time, Date, Datetime and Zoned_datetime
  • Range over comparable elements
  • Arithmetic and truncation operations

The smallest unit of measurement in Lunar is the second, so this library is not intended for high-precision calculations (but rather serves as a foundation for describing applications centered around calendars so it also does not support negative years or leap seconds).