Loading docs/easter.rst 0 → 100644 +23 −0 Original line number Diff line number Diff line Easter Helper ############# .. highlight:: php The Easter helper allows you to calculate both Western and Eastern dates for Easter any year. The full range of years is supported but calculating Easter date before the year 1583 is meaningless. This library uses `the Gauss's Easter algorithm`__. .. __: https://en.wikipedia.org/wiki/Date_of_Easter#Gauss's_Easter_algorithm Examples:: <?php use Arokettu\Date\Easter; // Catholic/Protestant Easter echo Easter::gregorian(2026), PHP_EOL; // 2026-04-05 // Orthodox Easter in Gregorian Calendar echo Easter::julian(2026), PHP_EOL; // 2026-04-12 // Orthodox Easter in Julian Calendar echo Easter::julian(2026)->julian(), PHP_EOL; // 2026-03-30 docs/index.rst +1 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ Documentation isoweek milankovic julian_date easter doctrine upgrade Loading Loading
docs/easter.rst 0 → 100644 +23 −0 Original line number Diff line number Diff line Easter Helper ############# .. highlight:: php The Easter helper allows you to calculate both Western and Eastern dates for Easter any year. The full range of years is supported but calculating Easter date before the year 1583 is meaningless. This library uses `the Gauss's Easter algorithm`__. .. __: https://en.wikipedia.org/wiki/Date_of_Easter#Gauss's_Easter_algorithm Examples:: <?php use Arokettu\Date\Easter; // Catholic/Protestant Easter echo Easter::gregorian(2026), PHP_EOL; // 2026-04-05 // Orthodox Easter in Gregorian Calendar echo Easter::julian(2026), PHP_EOL; // 2026-04-12 // Orthodox Easter in Julian Calendar echo Easter::julian(2026)->julian(), PHP_EOL; // 2026-03-30
docs/index.rst +1 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ Documentation isoweek milankovic julian_date easter doctrine upgrade Loading