Chinese Calendar Library in Pure Python
Chinese Calendar Library in Pure Python >>> from lunardate import LunarDate >>> LunarDate.fromSolarDate(1976, 10, 1) LunarDate(1976, 8, 8, 1) >>> LunarDate(1976, 8, 8, 1).toSolarDate() datetime.date(1976, 10, 1) >>> LunarDate(1976, 8, 8, 1).year 1976 >>> LunarDate(1976, 8, 8, 1).month 8 >>> LunarDate(1976, 8, 8, 1).day 8 >>> LunarDate(1976, 8, 8, 1).isLeapMonth True
$
pkg install py311-lunardateOrigin
devel/py-lunardate
Size
47.9KiB
License
MIT
Maintainer
gmm@tutanota.com
Dependencies
1 packages
Required by
0 packages