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

Source for file Official.php

Documentation is available at Official.php

  1. <?php
  2. /* vim: set expandtab tabstop=4 shiftwidth=4: */
  3. /**
  4.  * Filter for Official holidays.
  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: Official.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 German holidays.
  28.  *
  29.  * @category   Date
  30.  * @package    Date_Holidays
  31.  * @subpackage Filter
  32.  * @author     Carsten Lucke <luckec@tool-garage.de>
  33.  * @license    http://www.php.net/license/3_01.txt PHP License 3.0.1
  34.  * @version    CVS: $Id: Official.php,v 1.7 2008/03/17 11:37:49 kguest Exp $
  35.  * @link       http://pear.php.net/package/Date_Holidays
  36.  */
  37. {
  38.     /**
  39.      * Constructor.
  40.      */
  41.     function __construct()
  42.     {
  43.         parent::__construct(array('newYearsDay',
  44.                                   'goodFriday',
  45.                                   'easterMonday',
  46.                                   'dayOfWork',
  47.                                   'ascensionDay',
  48.                                   'whitMonday',
  49.                                   'germanUnificationDay',
  50.                                   'christmasDay',
  51.                                   'boxingDay'));
  52.     }
  53.  
  54.     /**
  55.      * Constructor.
  56.      *
  57.      * Only accepts official German holidays (that are valid for entire Germany).
  58.      */
  59.     {
  60.         $this->__construct();
  61.     }
  62. }
  63. ?>

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