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

Source for file Jewish.php

Documentation is available at Jewish.php

  1. <?php
  2. /* vim: set expandtab tabstop=4 shiftwidth=4: */
  3. // +----------------------------------------------------------------------+
  4. // | PHP Version 4                                                        |
  5. // +----------------------------------------------------------------------+
  6. // | Copyright (c) 1997-2002 The PHP Group                                |
  7. // +----------------------------------------------------------------------+
  8. // | This source file is subject to version 2.0 of the PHP license,       |
  9. // | that is bundled with this package in the file LICENSE, and is        |
  10. // | available at through the world-wide-web at                           |
  11. // | http://www.php.net/license/2_02.txt.                                 |
  12. // | If you did not receive a copy of the PHP license and are unable to   |
  13. // | obtain it through the world-wide-web, please send a note to          |
  14. // | license@php.net so we can mail you a copy immediately.               |
  15. // +----------------------------------------------------------------------+
  16. // | Authors:   Stephan Schmidt <schst@php-tools.net>                     |
  17. // |            Carsten Lucke <luckec@tool-garage.de>                     |
  18. // +----------------------------------------------------------------------+
  19. //
  20. //    $Id: Jewish.php,v 1.1 2005/01/04 10:03:02 luckec Exp $
  21.  
  22. /**
  23.  * class that calculates Jewish holidays
  24.  *
  25.  * @category    Date
  26.  * @package     Date_Holidays
  27.  * @subpackage  Driver
  28.  * @version     $Id: Jewish.php,v 1.1 2005/01/04 10:03:02 luckec Exp $
  29.  * @author      Carsten Lucke <luckec@tool-garage.de>
  30.  */
  31. {
  32.    /**
  33.     * Constructor
  34.     *
  35.     * Use the Date_Holidays::factory() method to construct an object of a certain driver
  36.     *
  37.     * @access   protected
  38.     */
  39.     function Date_Holidays_Driver_Jewish()
  40.     {
  41.     }
  42.     
  43.    /**
  44.     * Build the internal arrays that contain data about the calculated holidays
  45.     *
  46.     * @access   protected
  47.     * @return   boolean true on success, otherwise a PEAR_ErrorStack object
  48.     * @throws   object PEAR_ErrorStack
  49.     */
  50.     function _buildHolidays()
  51.     {
  52.         if (Date_Holidays::errorsOccurred()) {
  53.             return Date_Holidays::getErrorStack();
  54.         }
  55.         return true;
  56.     }
  57. }
  58. ?>

Documentation generated on Mon, 11 Mar 2019 15:03:07 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.