PHP Polyfill for the Calendar extension
MIT License
This project backports features found in the calendar extension. It is intended to be used when calendar extension is not enabled.
Currently, functions available are:
cal_to_jd
— Converts from a supported calendar to Julian Day Counteaster_date
— Get Unix timestamp for midnight on Easter of a given yeareaster_days
— Get number of days after March 21 on which Easter falls for a given yearjdtogregorian
— Converts Julian Day Count to Gregorian datejewishtojd
— Converts a date in the Jewish Calendar to Julian Day Countjuliantojd
— Converts a Julian Calendar date to Julian Day Countcomposer require roukmoute/polyfill-calendar
This library is released under the MIT license.