Overview of lunar-java capabilities
masterThe lunar-java library is a zero-dependency tool for handling multiple calendar systems including:
- Solar (Gregorian) Calendar
- Lunar Calendar (including traditional almanac/Huangli data)
- Taoist and Buddhist Calendars
Key features include:
- Zodiac signs and Stem-Branch (GanZhi) cycles
- Solar terms (JieQi) and festivals
- Traditional almanac data: Pengzu Baiji, auspicious directions (Gods/Fortune/Wealth), clashes (Chong), and Sha directions
- Five Elements (WuXing), Ten Gods (ShiShen), and Star Constellations
- Legal holidays and adjusted working days
Note on GanZhi calculation:
- Years: Supports calculation based on the first day of the first lunar month, the day of the Start of Spring (Lichun), or the exact moment of the Start of Spring transition.
- Months: Supports calculation based on the day of a solar term or the exact moment of the solar term transition.