Skip to content

codeaholicguy/halunar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

halunar

A Lunar calendar calculator library written in Haskell.

Another version which is written in JavaScript https://github.com/codeaholicguy/amlich.js/.

Usage

calculateLunarDateFromDate :: (Int, Int, Int, Int) -> (Int, Int, Int)
calculateLunarDateFromDate (day, month, year, timeZone) = (lunarDay, lunarMonth, lunarYear)
calculateDateFromLunarDate :: (Int, Int, Int, Int) -> (Int, Int, Int)
calculateDateFromLunarDate (lunarDay, lunarMonth, lunarYear, timeZone) = (day, month, year)

License

MIT

Reference

Computing the Vietnamese lunar calendar

Special thanks

About

Haskell implement of lunar calendar

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published