Introduction

Introduction – What Date_Holidays can do

Introduction

Date_Holidays is a driver-based holiday calculation package. It helps you check whether a specific date is a holiday in a specific country or religion. Furthermore you can calculate the date of any holiday supported in the driver for the country, region or religion.

Currently the following drivers are supported:

  • Australia

  • Austria

  • Brazil

  • Christian, calculates Christian holidays (used as base driver for other drivers)

  • Croatia

  • Denmark

  • Discordian

  • England & Wales

  • Finland

  • Germany, calculates German holidays

  • Ireland, calculates Irish holidays

  • Italy

  • Japan

  • Jewish, calculates Jewish holidays

  • The Netherlands

  • Norway

  • PHP.net

  • Portugal

  • Romania

  • San Marino

  • Slovenia

  • Spain

  • Sweden, calculates Swedish holidays

  • Ukraine

  • USA, calculates holidays in the United States of America

  • UNO, calculates UNO (United Nations Organization) holidays

  • Venezeula

  • Composite, a driver that is used to combine any number of the other drivers so they can be queried at once.

If you have written a custom driver for Date_Holidays that could be included in the distribution, please contact the package maintainers or open a feature request and attach a patch in the bug tracking tool.

Date_Holidays supports I18N by storing the names of the different holidays in INI files for each language. These files will be stored in the data directory of your PEAR installation.