abougouffa / pyIslam

pyIslam, a Python library to calculate prayer times, hijri date, qiblah direction and more
http://abougouffa.github.io/pyIslam
GNU Lesser General Public License v3.0
94 stars 32 forks source link

The initialized HijriDate object should be verified #5

Open abougouffa opened 10 years ago

abougouffa commented 10 years ago

last_ramadan_day = HijriDate(YYYY, MM, 30)

and the MM in the given year YYYY is 29 days long, this should raise an ValueError exception!