PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Date and Time » Date_Holidays

Driver based class to calculate holidays.

Download latest release 0.21.8 (there might be newer Composer installable version)

License: PHP License

Description

Date_Holidays helps you calculate the dates and titles of holidays and other special celebrations. The calculation is driver-based so it is easy to add new drivers that calculate a country's holidays. The methods of the class can be used to get a holiday's date and title in various languages.

Documentation

Manual

Maintainers

Dependencies

Required

Optional

Releases

Bugs

IDStatusTypeVersionDateSummary
#4909ClosedReq2005-07-25Add a filter for holidays in North Rhine-Westphalia
#4910ClosedReq2005-07-25new Driver function getHolidaysForDateSpan
#5764ClosedReq2005-10-24Method/property for driver listing
#6350ClosedReq2005-12-27new holiday listing for sweden
#6729ClosedBug0.15.12006-02-08Veteran's Day wrong
#6944ClosedReq0.15.12006-02-26ISO 3166 country and regional identification
#7193ClosedBug0.15.12006-03-24Missing parameter filter to isHoliday in Composite driver
#7269ClosedBug0.15.12006-03-31End-user documentation lacks mention of Swedish driver
#7530ClosedReq0.16.02006-05-01Added Danish holidays
#7541ClosedReqCVS2006-05-02Add discordian holidays
#9319ClosedBug0.16.12006-11-134th Advents Day not calculated right
#10220ClosedBug0.17.02007-02-28Don't set locale automatically
#10221ClosedBug0.17.02007-02-28Easier language selection
#10222ClosedReq0.17.02007-02-28Method to retrieve translation charset missing
#11097ClosedReq0.17.02007-05-22England and Wales driver
#11520ClosedBugCVS2007-07-04AllTests.php need to be reworked for integration with PEAR_TestSuite
#11744ClosedBugCVS2007-08-02tests need to work when run from CVS.
#11746ClosedBugCVS2007-08-02Easter calculation offset by 1 day.
#12523ClosedBug0.17.12007-11-25Referencing problem changing variables
#12807ClosedBug0.17.12008-01-02Incorrect holiday computation
#12835ClosedBug0.17.22008-01-05Boxing Day not celebrated in Ireland - it's St Stephen's Day
#12937ClosedReq0.17.42008-01-20Driver for holidays in the Ukraine requested
#12938ClosedReq0.17.42008-01-20Driver for holidays in Romania requested
#12978ClosedReqCVS2008-01-25Driver for Iceland requested
#12979ClosedBugCVS2008-01-25some incorrect Icelandic names of holidays
#13012ClosedBugCVS2008-01-30move helper methods from Ireland driver to base class
#13395ClosedBug2008-03-15isHoliday resets interal year storage
#13429ClosedBugCVS2008-03-18Small correction to Danish holidays
#13740ClosedReq0.18.02008-04-22Date_Holidays_Driver_Japanese
#13750ClosedReq0.18.02008-04-23Make use of easter_date()
#13783OpenReqCVS2008-04-27Add factory pattern for filters
#13865ClosedBug0.19.12008-05-09One-hour-shift in Christian driver
#14479ClosedBug0.20.02008-08-08.phpt test file for bug13395 fails
#14545ClosedReq0.20.02008-08-22Italian holidays
#15046ClosedBugCVS2008-11-15Avoid arbitrary file inclusion.
#15047ClosedBugCVS2008-11-15Don't use LC_ALL
#15079ClosedBugCVS2008-11-18fix use of easter_days function
#15360ClosedBug0.20.12008-12-20Double error in Christian.php
#15475ClosedBug0.20.12008-12-31function getNextDay() does not seem to exist
#15676ClosedBug0.20.12009-01-19Date_Holidays_EnglandWalse
#16021ClosedBug0.21.02009-03-11PHP 4 regression
#16053ClosedBug0.21.12009-03-23Dependency regression added with 0.21.1
#16423ClosedBug0.21.22009-07-10Path to php binary should not be hardcoded
#16595ClosedBug0.21.42009-09-11Inkompatibility to current version of PHP
#16731ClosedBug0.21.42009-10-23_addDays is broken with Date 1.5.0a1
#17202BogusBugSVN2010-03-08handle tests being run straight from SVN; ie no post-install variable expansion
#17246ClosedReq0.21.42010-03-19new driver proposal
#17307ClosedReq0.21.42010-04-12Drivers for Australia
#17456ClosedReq2010-06-01Driver for Spain
#17633ClosedReqSVN2010-07-27Speeding up Date_Holidays_Driver->getHolidayForDate
#18216ClosedReqSVN2011-01-24Public holidays for Croatia
#18333ClosedReq0.21.42011-03-03Holidays for Venezuela
#18449BogusBug0.21.42011-04-15Date_Holidays::isError() strange check
#18572No FeedbackReqSVN2011-05-31"Bangladesh" driver
#18959ClosedBugSVN2011-11-06Failed tests
#18997ClosedBug2011-11-14remove error_reporting (for PEAR QA team)
#19151ClosedBug0.21.52011-12-20Easter Monday is always on the next day
#19716ClosedReq0.21.62012-11-21Add Dutch translation for Christian driver
#19717BogusReq0.21.62012-11-21Add Dutch translation for Christian driver
#19722AssignedReq0.21.72012-11-26Localize driver names
#19814ClosedBug0.21.82013-02-09Compile language file nl_NL.ser missing for Christian Driver
#19816ClosedBug0.21.82013-02-10Localization fails if translations contain unused internalnames
#20178ClosedBug0.21.82014-01-16garbled portugeuse character output
#20258OpenReqSVN2014-04-28Please change license (move away from PHP license)
#20450ClosedReq0.21.82014-11-27add Date_Holidays_France
#23735OpenBugSVN2018-01-23Strict Standards errors shown