Date_Holidays
[ class tree: Date_Holidays ] [ index: Date_Holidays ] [ all elements ]

Source for file NorthRhineWestphalia.php

Documentation is available at NorthRhineWestphalia.php

  1. <?php
  2. /* vim: set expandtab tabstop=4 shiftwidth=4: */
  3. /**
  4.  * Filter for holidays in North Rhine Westphalia.
  5.  *
  6.  * PHP Version 4
  7.  *
  8.  * Copyright (c) 1997-2008 The PHP Group
  9.  *
  10.  * This source file is subject to version 3.0 of the PHP license,
  11.  * that is bundled with this package in the file LICENSE, and is
  12.  * available at through the world-wide-web at
  13.  * http://www.php.net/license/3_01.txt.
  14.  * If you did not receive a copy of the PHP license and are unable to
  15.  * obtain it through the world-wide-web, please send a note to
  16.  * license@php.net so we can mail you a copy immediately.
  17.  *
  18.  * @category Date
  19.  * @package  Date_Holidays
  20.  * @author   Carsten Lucke <luckec@tool-garage.de>
  21.  * @license  http://www.php.net/license/3_01.txt PHP License 3.0.1
  22.  * @version  CVS: $Id: NorthRhineWestphalia.php,v 1.7 2008/03/17 11:37:49 kguest Exp $
  23.  * @link     http://pear.php.net/package/Date_Holidays
  24.  */
  25.  
  26. /**
  27.  * Filter that only accepts official holidays in North Rhine-Westphalia.
  28.  *
  29.  * @category   Date
  30.  * @package    Date_Holidays
  31.  * @subpackage Filter
  32.  * @author     Carsten Lucke <luckec@tool-garage.de>
  33.  * @author     Mark Wiesemann <wiesemann@php.net>
  34.  * @license    http://www.php.net/license/3_01.txt PHP License 3.0.1
  35.  * @version    CVS: $Id: NorthRhineWestphalia.php,v 1.7 2008/03/17 11:37:49 kguest Exp $
  36.  * @link       http://pear.php.net/package/Date_Holidays
  37.  */
  38. {
  39.     /**
  40.      * Constructor.
  41.      */
  42.     function __construct()
  43.     {
  44.         parent::__construct(array('newYearsDay',
  45.                                   'goodFriday',
  46.                                   'easterMonday',
  47.                                   'dayOfWork',
  48.                                   'ascensionDay',
  49.                                   'whitMonday',
  50.                                   'corpusChristi',
  51.                                   'germanUnificationDay',
  52.                                   'allSaintsDay',
  53.                                   'christmasDay',
  54.                                   'boxingDay'));
  55.     }
  56.  
  57.     /**
  58.      * Constructor.
  59.      *
  60.      * Only accepts official holidays in North Rhine-Westphalia.
  61.      */
  62.     {
  63.         $this->__construct();
  64.     }
  65. }
  66. ?>

Documentation generated on Thu, 10 Apr 2008 20:00:22 -0400 by phpDocumentor 1.4.0. PEAR Logo Copyright © PHP Group 2004.