A PHP script / API endpoint that will generate the Roman Catholic liturgical calendar for any given year, calculating the mobile festivities and the precedence of solemnities, feasts, memorials...
The current limit for dates within the range of the year 9999 is due to ISO8601's limit of a range between 0000-9999.
However PHP does seem to have a way to go beyond this range:
DateTimeInterface::ISO8601_EXPANDEDDATE_ISO8601_EXPANDED
ISO-8601 Expanded (example: +10191-07-26T08:59:52+01:00)
**Note**: This format allows for year ranges outside of ISO-8601's normal range of 0000-9999 by always including a sign character. It also addresses that that timezone part (+01:00) is compatible with ISO-8601.
Perhaps we could implement this interface, and allow for years that go far beyond 9999. Making this calculator as close to truly perpetual as is currently possible by common computing standards.
The current limit for dates within the range of the year 9999 is due to ISO8601's limit of a range between 0000-9999.
However PHP does seem to have a way to go beyond this range:
Perhaps we could implement this interface, and allow for years that go far beyond 9999. Making this calculator as close to truly perpetual as is currently possible by common computing standards.