Skip to content

cargocut/lunar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

109 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warning

This project is still highly experimental, but we would be delighted to receive feedback (but please be careful with production).

lunar

Lunar is a very small date management library to facilitate the development of applications that need to make use of dates and times.

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

Important

At the moment, parsing tools and (available) encoded time zones are very limited.

About

Lunar is a very small date management library

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors