Source for file Austria.php
Documentation is available at Austria.php 
/* vim: set expandtab tabstop=4 shiftwidth=4: */  
// +----------------------------------------------------------------------+  
// +----------------------------------------------------------------------+  
// | Copyright (c) 1997-2002 The PHP Group                                |  
// +----------------------------------------------------------------------+  
// | This source file is subject to version 2.0 of the PHP license,       |  
// | that is bundled with this package in the file LICENSE, and is        |  
// | available at through the world-wide-web at                           |  
// | http://www.php.net/license/2_02.txt.                                 |  
// | If you did not receive a copy of the PHP license and are unable to   |  
// | obtain it through the world-wide-web, please send a note to          |  
// | license@php.net so we can mail you a copy immediately.               |  
// +----------------------------------------------------------------------+  
// | Authors:   Stephan Schmidt <schst@php-tools.net>                     |  
// |            Carsten Lucke <luckec@tool-garage.de>                     |  
// +----------------------------------------------------------------------+  
//    $Id: Austria.php,v 1.1 2007/05/28 14:52:10 luckec Exp $  
 * Requires Christian driver  
require_once 'Date/Holidays/Driver/Christian.php';   
 * class that calculates Austrian holidays  
 * @version     $Id: Austria.php,v 1.1 2007/05/28 14:52:10 luckec Exp $  
 * @author      Klemens Ullmann <klemens@ull.at>  
    * Use the Date_Holidays::factory() method to construct an object of a certain driver  
    * Build the internal arrays that contain data about the calculated holidays  
    * @return   boolean true on success, otherwise a PEAR_ErrorStack object  
    * @throws   object PEAR_ErrorStack  
        $this->_addHoliday('easter', $easterDate, 'Ostersonntag');   
        $this->_addHoliday('easterMonday', $easterDate->getNextDay (), 'Ostermontag');   
        * Whitsun (determines Whit Monday, Ascension Day and Feast of Corpus Christi)  
        $whitsunDate        = new Date ($easterDate);   
        $whitsunDate->addSpan (new Date_Span ('49, 0, 0, 0'));   
        $this->_addHoliday('whitsun', $whitsunDate, 'Pfingstsonntag');   
        $ascensionDayDate   = new Date ($whitsunDate);   
        $ascensionDayDate->subtractSpan (new Date_Span ('10, 0, 0, 0'));   
        $this->_addHoliday('ascensionDay', $ascensionDayDate, 'Christi Himmelfahrt');   
        $this->_addHoliday('whitMonday', $whitsunDate->getNextDay (), 'Pfingstmontag');   
        * Feast of Corpus Christi  
        $corpusChristiDate  = new Date ($whitsunDate);   
        $corpusChristiDate->addSpan (new Date_Span ('11, 0, 0, 0'));   
        $this->_addHoliday('corpusChristi', $corpusChristiDate, 'Fronleichnam');   
        $this->_addHoliday('mariaAscension', $this->_year .  '-08-15', 'Maria Himmelfahrt');   
        $this->_addHoliday('xmasDay', $this->_year .  '-12-25', '1. Weihnachtsfeiertag');   
        $this->_addHoliday('boxingDay', $this->_year .  '-12-26', '2. Weihnachtsfeiertag');   
    * Method that returns an array containing the ISO3166 codes that may possibly  
    * @return array possible ISO3166 codes  
 
 
        
		    
 
		    Documentation generated on Mon, 11 Mar 2019 15:03:05 -0400 by  phpDocumentor 1.4.4. PEAR Logo Copyright ©  PHP Group 2004.
	        
       |