A Lunar calendar calculator library written in Haskell.
Another version which is written in JavaScript https://github.com/codeaholicguy/amlich.js/.
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)
Computing the Vietnamese lunar calendar
- The logo is designed by @reallinfo