package lunar

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

lunar-1.1.0.tbz
sha256=f158deac67b864f3edd7d1242b3340a0f218d4465b9e4108501a02197594d0f9
sha512=acf9a3ea508c3df2351aec6ea8299583be128f02d2d891ab82a2999ad6ba00c967962ede7d96782c27a7edcb7f78db08380293a8bf044a567a749872bbc417a8

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).