Help language development. Donate to The Perl Foundation
Zodiac::Chinese - Generate Chinese Zodiac
use Zodiac::Chinese; my ChineseZodiac $zodiac .= new(DateTime.new(year => $year, month => $month));
The Zodiac::Chinese module provides a ChineseZodiac class, which generates a Chinese zodiac sign from a given date. It currently doesn't account for differences between the lunar calendar and Gregorian calendar, so signs generated for late January or early February may be off.
Tim Van den Langenbergh [email protected]
Source can be located at: https://github.com/tmtvl/Chinese-Zodiac. Comments and Pull Requests are welcome.
Original author: Lady_Aleena. Re-imagined from Perl 5.
This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.