bartonlp / easterdatecalculator
Calculates easter date
dev-master
2022-01-16 18:54 UTC
Requires
- php: >=7.4
This package is auto-updated.
Last update: 2025-02-17 01:17:27 UTC
README
* This class will calculate the date on which easter will fall for a given year.
*
* Other Christian Hollydays:
* Carnaval (Mardi Grass) -49 days from Easter
* Aswoensdag (Ash Wednesday) -46 days from Easter
* Goede vrijdag (Good Friday) -2 days from Easter
* Hemelvaart (Assention) +39 days from Easter
* Pinksteren (Pentecost) +49 days from Easter
*
* Copyright (C) 2010 by Marcel Bachus
*
* Modified by Barton Phillips to use PHP easter_days function which does not have the unix time stamp
* limitations of 1970 to 2038. This class is now acurate from 1800-as long as Easter will be celibrated.
* For some reason dates before 1800 seem to switch to Julian Easter dates (I have no idea why).
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*_________________________________________________________________________
*
* Updates:
* version 1.0 - First release of the class, for more explanations please
* see the example1.php