[packaging] Branch 'upstream' - 3 commits - Date_Holidays_Japan-0.1.1/Holidays Date_Holidays_Japan-0.1.1/lang Date_Holidays_Japan-0.1.1/tests package.xml

Jeroen van Meeuwen vanmeeuwen at kolabsys.com
Fri Jan 14 16:29:40 CET 2011


 Date_Holidays_Japan-0.1.1/Holidays/Driver/Japan.php                      |  641 ++++
 Date_Holidays_Japan-0.1.1/lang/Japan/ja_JP.ser                           |    1 
 Date_Holidays_Japan-0.1.1/lang/Japan/ja_JP.xml                           |  173 +
 Date_Holidays_Japan-0.1.1/tests/Date_Holidays_Driver_Japan_TestSuite.php | 1587 ++++++++++
 package.xml                                                              |   79 
 5 files changed, 2481 insertions(+)

New commits:
commit 3baa83fdd0ba00eb99f5eb09aa2109b5edfa77f2
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date:   Fri Jan 14 16:26:45 2011 +0100

    Imported Upstream version 0.1.1


commit dd415a5273f3c191d364dd94f7b329804112445f
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date:   Fri Jan 14 16:26:44 2011 +0100

    Imported Upstream version 0.1.1

diff --git a/Date_Holidays_Japan-0.1.1/Holidays/Driver/Japan.php b/Date_Holidays_Japan-0.1.1/Holidays/Driver/Japan.php
new file mode 100644
index 0000000..0090daa
--- /dev/null
+++ b/Date_Holidays_Japan-0.1.1/Holidays/Driver/Japan.php
@@ -0,0 +1,641 @@
+<?php
+/* vim: set expandtab tabstop=4 shiftwidth=4: */
+/**
+ * Driver for holidays in Japanese
+ *
+ * PHP Version 4
+ *
+ * Copyright (c) 1997-2008 The PHP Group
+ *
+ * This source file is subject to version 3.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/3_01.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 at php.net so we can mail you a copy immediately.
+ *
+ * @category Date
+ * @package  Date_Holidays
+ * @author   Hideyuki Shimooka <shimooka at doyouphp.jp>
+ * @license  http://www.php.net/license/3_01.txt PHP License 3.0.1
+ * @version  CVS: $Id: Japan.php,v 1.5 2009/01/19 21:54:21 kguest Exp $
+ * @link     http://pear.php.net/package/Date_Holidays
+ * @see      http://www.h3.dion.ne.jp/~sakatsu/holiday_topic.htm
+ */
+
+/**
+ * Extends Date_Holidays_Driver
+ */
+require_once 'Date/Holidays/Driver.php';
+
+/**
+ * the gradient parameter of the approximate expression
+ * to calculate equinox day
+ *
+ * @access  public
+ */
+define('DATE_HOLIDAYS_EQUINOX_GRADIENT', 0.242194);
+
+/**
+ * the initial parameter of the approximate expression
+ * to calculate vernal equinox day from 1948 to 1979
+ *
+ * @access  public
+ */
+define('DATE_HOLIDAYS_VERNAL_EQUINOX_PARAM_1979', 20.8357);
+
+/**
+ * the initial parameter of the approximate expression
+ * to calculate vernal equinox day from 1980 to 2099
+ *
+ * @access  public
+ */
+define('DATE_HOLIDAYS_VERNAL_EQUINOX_PARAM_2099', 20.8431);
+
+/**
+ * the initial parameter of the approximate expression
+ * to calculate vernal equinox day from 2100 to 2150
+ *
+ * @access  public
+ */
+define('DATE_HOLIDAYS_VERNAL_EQUINOX_PARAM_2150', 21.8510);
+
+/**
+ * the initial parameter of the approximate expression
+ * to calculate autumnal equinox day from 1948 to 1979
+ *
+ * @access  public
+ */
+define('DATE_HOLIDAYS_AUTUMNAL_EQUINOX_PARAM_1979', 23.2588);
+
+/**
+ * the initial parameter of the approximate expression
+ * to calculate autumnal equinox day from 1980 to 2099
+ *
+ * @access  public
+ */
+define('DATE_HOLIDAYS_AUTUMNAL_EQUINOX_PARAM_2099', 23.2488);
+
+/**
+ * the initial parameter of the approximate expression
+ * to calculate autumnal equinox day from 2100 to 2150
+ *
+ * @access  public
+ */
+define('DATE_HOLIDAYS_AUTUMNAL_EQUINOX_PARAM_2150', 24.2488);
+
+/**
+ * class that calculates Japanese holidays
+ *
+ * @category   Date
+ * @package    Date_Holidays
+ * @subpackage Driver
+ * @author     Hideyuki Shimooka <shimooka at doyouphp.jp>
+ * @license    http://www.php.net/license/3_01.txt PHP License 3.0.1
+ * @version    CVS: $Id: Japan.php,v 1.5 2009/01/19 21:54:21 kguest Exp $
+ * @link       http://pear.php.net/package/Date_Holidays
+ * @see        http://www.h3.dion.ne.jp/~sakatsu/holiday_topic.htm
+ */
+class Date_Holidays_Driver_Japan extends Date_Holidays_Driver
+{
+    /**
+     * a translation file name
+     *
+     * @access  private
+     */
+    var $_translationFile = null;
+
+    /**
+     * a translation locale
+     *
+     * @access  private
+     */
+    var $_translationLocale = null;
+
+    /**
+     * Constructor
+     *
+     * Use the Date_Holidays::factory() method to construct an object of a
+     * certain driver
+     *
+     * @access   protected
+     */
+    function Date_Holidays_Driver_Japan()
+    {
+    }
+
+    /**
+     * Build the internal arrays that contain data about the calculated holidays
+     *
+     * @access   protected
+     * @return   boolean true on success, otherwise a PEAR_ErrorStack object
+     * @throws   object PEAR_ErrorStack
+     */
+    function _buildHolidays()
+    {
+        parent::_buildHolidays();
+
+        $this->_clearHolidays();
+
+        $this->_buildNewYearsDay();
+        $this->_buildComingofAgeDay();
+        $this->_buildNationalFoundationDay();
+        $this->_buildVernalEquinoxDay();
+        $this->_buildShowaDay();
+        $this->_buildConstitutionMemorialDay();
+        $this->_buildGreeneryDay();
+        $this->_buildChildrensDay();
+        $this->_buildMarineDay();
+        $this->_buildRespectfortheAgedDay();
+        $this->_buildAutumnalEquinoxDay();
+        $this->_buildHealthandSportsDay();
+        $this->_buildNationalCultureDay();
+        $this->_buildLaborThanksgivingDay();
+        $this->_buildEmperorsBirthday();
+
+        $this->_buildOtherMemorialDays();
+
+        $this->_buildSubstituteHolidays();
+
+        return true;
+    }
+
+    /**
+     * Method that returns an array containing the ISO3166 codes that may possibly
+     * identify a driver.
+     *
+     * @static
+     * @access public
+     * @return array possible ISO3166 codes
+     */
+    function getISO3166Codes()
+    {
+        return array('jp', 'jpn');
+    }
+
+    /**
+     * build day of New Year's Day
+     *
+     * @access   private
+     * @return   void
+     */
+    function _buildNewYearsDay()
+    {
+        if ($this->_year >= 1949) {
+            $this->_addHoliday('newYearsDay',
+                               $this->_year . '-01-01',
+                               'New Year\'s Day');
+        }
+    }
+
+    /**
+     * build day of Coming of Age Day
+     *
+     * @access   private
+     * @return   void
+     */
+    function _buildComingofAgeDay()
+    {
+        $date = null;
+        if ($this->_year >= 2000) {
+            $date = $this->_calcNthMondayInMonth(1, 2);
+        } else if ($this->_year >= 1949) {
+            $date = $this->_year . '-01-15';
+        }
+        if (!is_null($date)) {
+            $this->_addHoliday('comingOfAgeDay',
+                               $date,
+                               'Coming of Age Day');
+        }
+    }
+
+    /**
+     * build day of National Foundation Day
+     *
+     * @access   private
+     * @return   void
+     */
+    function _buildNationalFoundationDay()
+    {
+        if ($this->_year >= 1949) {
+            $this->_addHoliday('nationalFoundationDay',
+                               $this->_year . '-02-11',
+                               'National Foundation Day');
+        }
+    }
+
+    /**
+     * build day of Vernal Equinox Day
+     *
+     * use approximate expression to calculate equinox day internally.
+     *
+     * @access   private
+     * @return   void
+     * @see      http://www.h3.dion.ne.jp/~sakatsu/holiday_topic.htm (in Japanese)
+     */
+    function _buildVernalEquinoxDay()
+    {
+        $day = null;
+        if ($this->_year >= 1948 && $this->_year <= 1979) {
+            $day = floor(DATE_HOLIDAYS_VERNAL_EQUINOX_PARAM_1979 +
+                         DATE_HOLIDAYS_EQUINOX_GRADIENT *
+                         ($this->_year - 1980) -
+                         floor(($this->_year - 1980) / 4));
+        } else if ($this->_year <= 2099) {
+            $day = floor(DATE_HOLIDAYS_VERNAL_EQUINOX_PARAM_2099 +
+                         DATE_HOLIDAYS_EQUINOX_GRADIENT *
+                         ($this->_year - 1980) -
+                         floor(($this->_year - 1980) / 4));
+        } else if ($this->_year <= 2150) {
+            $day = floor(DATE_HOLIDAYS_VERNAL_EQUINOX_PARAM_2150 +
+                         DATE_HOLIDAYS_EQUINOX_GRADIENT *
+                         ($this->_year - 1980) -
+                         floor(($this->_year - 1980) / 4));
+        }
+        if (!is_null($day)) {
+            $this->_addHoliday('vernalEquinoxDay',
+                               sprintf('%04d-%02d-%02d', $this->_year, 3, $day),
+                               'Vernal Equinox Day');
+        }
+    }
+
+    /**
+     * build day of Showa Day
+     *
+     * @access   private
+     * @return   void
+     */
+    function _buildShowaDay()
+    {
+        $internalName = null;
+        $title = null;
+        if ($this->_year >= 2007) {
+            $internalName = 'showaDay';
+            $title = 'Showa Day';
+        } else if ($this->_year >= 1989) {
+            $internalName = 'greeneryDay';
+            $title = 'Greenery Day';
+        } else if ($this->_year >= 1949) {
+            $internalName = 'showaEmperorsBirthday';
+            $title = 'Showa Emperor\'s Birthday';
+        }
+        if (!is_null($internalName)) {
+            $this->_addHoliday($internalName,
+                               $this->_year . '-04-29',
+                               $title);
+        }
+    }
+
+    /**
+     * build day of Constitution Memorial Day
+     *
+     * @access   private
+     * @return   void
+     */
+    function _buildConstitutionMemorialDay()
+    {
+        if ($this->_year >= 1949) {
+            $this->_addHoliday('constitutionMemorialDay',
+                               $this->_year . '-05-03',
+                               'Constitution Memorial Day');
+        }
+    }
+
+    /**
+     * build day of Greenery Day
+     *
+     * @access   private
+     * @return   void
+     */
+    function _buildGreeneryDay()
+    {
+        $internalName = null;
+        $title = null;
+        if ($this->_year >= 2007) {
+            $internalName = 'greeneryDay';
+            $title = 'Greenery Day';
+        } else if ($this->_year >= 1986) {
+            $date =& new Date($this->_year . '-05-04');
+            if ($date->getDayOfWeek() != 0) {
+                $internalName = 'nationalHoliday';
+                $title = 'National Holiday';
+            }
+        }
+        if (!is_null($internalName)) {
+            $this->_addHoliday($internalName,
+                               $this->_year . '-05-04',
+                               $title);
+        }
+    }
+
+    /**
+     * build day of Children's Day
+     *
+     * @access   private
+     * @return   void
+     */
+    function _buildChildrensDay()
+    {
+        if ($this->_year >= 1949) {
+            $this->_addHoliday('childrensDay',
+                               $this->_year . '-05-05',
+                               'Children\'s Day');
+        }
+    }
+
+    /**
+     * build day of Marine Day
+     *
+     * @access   private
+     * @return   void
+     */
+    function _buildMarineDay()
+    {
+        $date = null;
+        if ($this->_year >= 2003) {
+            $date = $this->_calcNthMondayInMonth(7, 3);
+        } else if ($this->_year >= 1996) {
+            $date = $this->_year . '-07-20';
+        }
+        if (!is_null($date)) {
+            $this->_addHoliday('marineDay',
+                               $date,
+                               'Marine Day');
+        }
+    }
+
+    /**
+     * build day of Respect for the Aged Day
+     *
+     * @access   private
+     * @return   void
+     */
+    function _buildRespectfortheAgedDay()
+    {
+        $date = null;
+        if ($this->_year >= 2003) {
+            $date = $this->_calcNthMondayInMonth(9, 3);
+        } else if ($this->_year >= 1966) {
+            $date = $this->_year . '-09-15';
+        }
+        if (!is_null($date)) {
+            $this->_addHoliday('respectfortheAgedDay',
+                               $date,
+                               'Respect for the Aged Day');
+        }
+    }
+
+    /**
+     * build day of Health and Sports Day
+     *
+     * @access   private
+     * @return   void
+     */
+    function _buildHealthandSportsDay()
+    {
+        $date = null;
+        if ($this->_year >= 2000) {
+            $date = $this->_calcNthMondayInMonth(10, 2);
+        } else if ($this->_year >= 1966) {
+            $date = $this->_year . '-10-10';
+        }
+        if (!is_null($date)) {
+            $this->_addHoliday('healthandSportsDay',
+                               $date,
+                               'Health and Sports Day');
+        }
+    }
+
+    /**
+     * build day of Autumnal Equinox Day
+     *
+     * use approximate expression to calculate equinox day internally.
+     *
+     * @access   private
+     * @return   void
+     * @see      http://www.h3.dion.ne.jp/~sakatsu/holiday_topic.htm (in Japanese)
+     */
+    function _buildAutumnalEquinoxDay()
+    {
+        $day = null;
+        if ($this->_year >= 1948 && $this->_year <= 1979) {
+            $day = floor(DATE_HOLIDAYS_AUTUMNAL_EQUINOX_PARAM_1979 +
+                         DATE_HOLIDAYS_EQUINOX_GRADIENT *
+                         ($this->_year - 1980) -
+                         floor(($this->_year - 1980) / 4));
+        } else if ($this->_year <= 2099) {
+            $day = floor(DATE_HOLIDAYS_AUTUMNAL_EQUINOX_PARAM_2099 +
+                         DATE_HOLIDAYS_EQUINOX_GRADIENT *
+                         ($this->_year - 1980) -
+                         floor(($this->_year - 1980) / 4));
+        } else if ($this->_year <= 2150) {
+            $day = floor(DATE_HOLIDAYS_AUTUMNAL_EQUINOX_PARAM_2150 +
+                         DATE_HOLIDAYS_EQUINOX_GRADIENT *
+                         ($this->_year - 1980) -
+                         floor(($this->_year - 1980) / 4));
+        }
+        if (!is_null($day)) {
+            $this->_addHoliday('autumnalEquinoxDay',
+                               sprintf('%04d-%02d-%02d', $this->_year, 9, $day),
+                               'Autumnal Equinox Day');
+
+            if ($this->_year >= 2003 &&
+                $this->getHolidayDate('autumnalEquinoxDay')->getDayOfWeek() == 3) {
+                $this->_addHoliday('nationalHolidayBeforeAutumnalEquinoxDay',
+                    $this->getHolidayDate('autumnalEquinoxDay')->getPrevDay(),
+                    'National Holiday before Autumnal Equinox Day');
+            }
+        }
+    }
+
+    /**
+     * build day of National Culture Day
+     *
+     * @access   private
+     * @return   void
+     */
+    function _buildNationalCultureDay()
+    {
+        if ($this->_year >= 1948) {
+            $this->_addHoliday('nationalCultureDay',
+                               $this->_year . '-11-03',
+                               'National Culture Day');
+        }
+    }
+
+    /**
+     * build day of Labor Thanksgiving Day
+     *
+     * @access   private
+     * @return   void
+     */
+    function _buildLaborThanksgivingDay()
+    {
+        if ($this->_year >= 1948) {
+            $this->_addHoliday('laborThanksgivingDay',
+                               $this->_year . '-11-23',
+                               'Labor Thanksgiving Day');
+        }
+    }
+
+    /**
+     * build day of Emperor's Birthday
+     *
+     * @access   private
+     * @return   void
+     */
+    function _buildEmperorsBirthday()
+    {
+        if ($this->_year >= 1989) {
+            $this->_addHoliday('emperorsBirthday',
+                               $this->_year . '-12-23',
+                               'Emperor\'s Birthday');
+        }
+    }
+
+    /**
+     * build day of Emperor's Birthday
+     *
+     * @access   private
+     * @return   void
+     */
+    function _buildOtherMemorialDays()
+    {
+        if ($this->_year == 1959) {
+            $this->_addHoliday('theRiteofWeddingofHIHCrownPrinceAkihito',
+                               $this->_year . '-04-10',
+                               'The Rite of Wedding of HIH Crown Prince Akihito');
+        }
+        if ($this->_year == 1989) {
+            $this->_addHoliday('theFuneralCeremonyofEmperorShowa.',
+                               $this->_year . '-02-24',
+                               'The Funeral Ceremony of Emperor Showa.');
+        }
+        if ($this->_year == 1990) {
+            $this->_addHoliday('theCeremonyoftheEnthronementof'
+                             . 'HisMajestytheEmperor(attheSeiden)',
+                               $this->_year . '-11-12',
+                               'The Ceremony of the Enthronement of ' .
+                               'His Majesty the Emperor (at the Seiden)');
+        }
+        if ($this->_year == 1993) {
+            $this->_addHoliday('theRiteofWeddingofHIHCrownPrinceNaruhito',
+                               $this->_year . '-06-09',
+                               'The Rite of Wedding of HIH Crown Prince Naruhito');
+        }
+    }
+
+    /**
+     * build day of substitute holiday
+     *
+     * @access   private
+     * @return   void
+     */
+    function _buildSubstituteHolidays()
+    {
+        // calculate 'current' substitute holidays
+        foreach ($this->_dates as $internalName => $date) {
+            if ($date->getDayOfWeek() == 0) {
+                if ($this->_year >= 2007) {
+                    while (in_array($date, $this->_dates)) {
+                        $date = $date->getNextDay();
+                    }
+                } else if ($date->getDate() >= '1973-04-12') {
+                    $date = $date->getNextDay();
+                    if (in_array($date, $this->_dates)) {
+                        continue;
+                    }
+                } else {
+                    continue;
+                }
+                if (!is_null($date)) {
+                    $name = 'substituteHolidayFor' . $internalName;
+                    $this->_addHoliday($name,
+                                       $date,
+                                       'Substitute Holiday for ' .
+                                       $this->_titles['C'][$internalName]);
+                }
+            }
+        }
+
+        // reset translated titles if set.
+        // because substitute Holidays change each year.
+        if (!is_null($this->_translationFile)) {
+            $ext = substr($this->_translationFile, -3);
+            if ($ext === 'xml') {
+                $this->addTranslationFile($this->_translationFile,
+                                          $this->_translationLocale);
+            } else if ($ext === 'ser') {
+                $this->addCompiledTranslationFile($this->_translationFile,
+                                                  $this->_translationLocale);
+            }
+        }
+    }
+
+
+    /**
+     * Add a language-file's content
+     *
+     * The language-file's content will be parsed and translations,
+     * properties, etc. for holidays will be made available with the specified
+     * locale.
+     *
+     * @param string $file   filename of the language file
+     * @param string $locale locale-code of the translation
+     *
+     * @access   public
+     * @return   boolean true on success, otherwise a PEAR_ErrorStack object
+     * @throws   object PEAR_Errorstack
+     */
+    function addTranslationFile($file, $locale)
+    {
+        $result = parent::addTranslationFile($file, $locale);
+        if (PEAR::isError($result)) {
+            return $result;
+        }
+        $this->_translationFile   = $file;
+        $this->_translationLocale = $locale;
+        return $result;
+    }
+
+    /**
+     * Add a compiled language-file's content
+     *
+     * The language-file's content will be unserialized and translations,
+     * properties, etc. for holidays will be made available with the
+     * specified locale.
+     *
+     * @param string $file   filename of the compiled language file
+     * @param string $locale locale-code of the translation
+     *
+     * @access   public
+     * @return   boolean true on success, otherwise a PEAR_ErrorStack object
+     * @throws   object PEAR_Errorstack
+     */
+    function addCompiledTranslationFile($file, $locale)
+    {
+        $result = parent::addCompiledTranslationFile($file, $locale);
+        if (PEAR::isError($result)) {
+            return $result;
+        }
+        $this->_translationFile   = $file;
+        $this->_translationLocale = $locale;
+        return $result;
+    }
+
+    /**
+     * clear all holidays
+     *
+     * @access   private
+     * @return   void
+     */
+    function _clearHolidays()
+    {
+        $this->_holidays      = array();
+        $this->_internalNames = array();
+        $this->_dates         = array();
+        $this->_titles        = array();
+    }
+}
+?>
diff --git a/Date_Holidays_Japan-0.1.1/lang/Japan/ja_JP.ser b/Date_Holidays_Japan-0.1.1/lang/Japan/ja_JP.ser
new file mode 100644
index 0000000..66c0de0
--- /dev/null
+++ b/Date_Holidays_Japan-0.1.1/lang/Japan/ja_JP.ser
@@ -0,0 +1 @@
+a:1:{s:8:"holidays";a:1:{s:7:"holiday";a:42:{i:0;a:2:{s:13:"internal-name";s:11:"newYearsDay";s:11:"translation";s:6:"元日";}i:1;a:2:{s:13:"internal-name";s:14:"comingOfAgeDay";s:11:"translation";s:12:"成人の日";}i:2;a:2:{s:13:"internal-name";s:21:"nationalFoundationDay";s:11:"translation";s:18:"建国記念の日";}i:3;a:2:{s:13:"internal-name";s:16:"vernalEquinoxDay";s:11:"translation";s:12:"春分の日";}i:4;a:2:{s:13:"internal-name";s:21:"showaEmperorsBirthday";s:11:"translation";s:15:"天皇誕生日";}i:5;a:2:{s:13:"internal-name";s:8:"showaDay";s:11:"translation";s:12:"昭和の日";}i:6;a:2:{s:13:"internal-name";s:23:"constitutionMemorialDay";s:11:"translation";s:15:"憲法記念日";}i:7;a:2:{s:13:"internal-name";s:11:"greeneryDay";s:11:"translation";s:15:"みどりの日";}i:8;a:2:{s:13:"internal-name";s:15:"nationalHoliday";s:11:"translation";s:15:"国民の休日";}i:9;a:2:{s:13:"internal-name";s:12:"childrensDay";s:11:"translation";s:15:"こどもの日";
 }i:10;a:2:{s:13:"internal-name";s:9:"marineDay";s:11:"translation";s:9:"海の日";}i:11;a:2:{s:13:"internal-name";s:20:"respectfortheAgedDay";s:11:"translation";s:12:"敬老の日";}i:12;a:2:{s:13:"internal-name";s:18:"healthandSportsDay";s:11:"translation";s:12:"体育の日";}i:13;a:2:{s:13:"internal-name";s:18:"autumnalEquinoxDay";s:11:"translation";s:12:"秋分の日";}i:14;a:2:{s:13:"internal-name";s:39:"nationalHolidayBeforeAutumnalEquinoxDay";s:11:"translation";s:15:"国民の休日";}i:15;a:2:{s:13:"internal-name";s:18:"nationalCultureDay";s:11:"translation";s:12:"文化の日";}i:16;a:2:{s:13:"internal-name";s:20:"laborThanksgivingDay";s:11:"translation";s:18:"勤労感謝の日";}i:17;a:2:{s:13:"internal-name";s:16:"emperorsBirthday";s:11:"translation";s:15:"天皇誕生日";}i:18;a:2:{s:13:"internal-name";s:39:"theRiteofWeddingofHIHCrownPrinceAkihito";s:11:"translation";s:36:"皇太子明仁親王の結婚の儀";}i:19;a:2:{s:13:"internal-name";s:33:"theFuneralCe
 remonyofEmperorShowa.";s:11:"translation";s:27:"昭和天皇!
 の大å–
ªã®ç¤¼";}i:20;a:2:{s:13:"internal-name";s:63:"theCeremonyoftheEnthronementofHisMajestytheEmperor(attheSeiden)";s:11:"translation";s:22:"即位礼 正殿の儀";}i:21;a:2:{s:13:"internal-name";s:40:"theRiteofWeddingofHIHCrownPrinceNaruhito";s:11:"translation";s:36:"皇太子徳仁親王の結婚の儀";}i:22;a:2:{s:13:"internal-name";s:31:"substituteHolidayFornewYearsDay";s:11:"translation";s:12:"振替休日";}i:23;a:2:{s:13:"internal-name";s:34:"substituteHolidayForcomingOfAgeDay";s:11:"translation";s:12:"振替休日";}i:24;a:2:{s:13:"internal-name";s:41:"substituteHolidayFornationalFoundationDay";s:11:"translation";s:12:"振替休日";}i:25;a:2:{s:13:"internal-name";s:36:"substituteHolidayForvernalEquinoxDay";s:11:"translation";s:12:"振替休日";}i:26;a:2:{s:13:"internal-name";s:28:"substituteHolidayForshowaDay";s:11:"translation";s:12:"振替休日";}i:27;a:2:{s:13:"internal-name";s:43:"substituteHolidayForconstitutionMemorialDay";s:11:"translation";s:12:"振替休日"
 ;}i:28;a:2:{s:13:"internal-name";s:31:"substituteHolidayForgreeneryDay";s:11:"translation";s:12:"振替休日";}i:29;a:2:{s:13:"internal-name";s:32:"substituteHolidayForchildrensDay";s:11:"translation";s:12:"振替休日";}i:30;a:2:{s:13:"internal-name";s:29:"substituteHolidayFormarineDay";s:11:"translation";s:12:"振替休日";}i:31;a:2:{s:13:"internal-name";s:40:"substituteHolidayForrespectfortheAgedDay";s:11:"translation";s:12:"振替休日";}i:32;a:2:{s:13:"internal-name";s:38:"substituteHolidayForhealthandSportsDay";s:11:"translation";s:12:"振替休日";}i:33;a:2:{s:13:"internal-name";s:38:"substituteHolidayForautumnalEquinoxDay";s:11:"translation";s:12:"振替休日";}i:34;a:2:{s:13:"internal-name";s:59:"substituteHolidayFornationalHolidayBeforeAutumnalEquinoxDay";s:11:"translation";s:12:"振替休日";}i:35;a:2:{s:13:"internal-name";s:38:"substituteHolidayFornationalCultureDay";s:11:"translation";s:12:"振替休日";}i:36;a:2:{s:13:"internal-name";s:40:"substituteHol
 idayForlaborThanksgivingDay";s:11:"translation";s:12:"振替!
 休日";
}i:37;a:2:{s:13:"internal-name";s:36:"substituteHolidayForemperorsBirthday";s:11:"translation";s:12:"振替休日";}i:38;a:2:{s:13:"internal-name";s:59:"substituteHolidayFortheRiteofWeddingofHIHCrownPrinceAkihito";s:11:"translation";s:12:"振替休日";}i:39;a:2:{s:13:"internal-name";s:53:"substituteHolidayFortheFuneralCeremonyofEmperorShowa.";s:11:"translation";s:12:"振替休日";}i:40;a:2:{s:13:"internal-name";s:83:"substituteHolidayFortheCeremonyoftheEnthronementofHisMajestytheEmperor(attheSeiden)";s:11:"translation";s:12:"振替休日";}i:41;a:2:{s:13:"internal-name";s:60:"substituteHolidayFortheRiteofWeddingofHIHCrownPrinceNaruhito";s:11:"translation";s:12:"振替休日";}}}}
\ No newline at end of file
diff --git a/Date_Holidays_Japan-0.1.1/lang/Japan/ja_JP.xml b/Date_Holidays_Japan-0.1.1/lang/Japan/ja_JP.xml
new file mode 100644
index 0000000..0859d0f
--- /dev/null
+++ b/Date_Holidays_Japan-0.1.1/lang/Japan/ja_JP.xml
@@ -0,0 +1,173 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<driver-data>
+    <holidays>
+        <holiday>
+            <internal-name>newYearsDay</internal-name>
+            <translation>元日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>comingOfAgeDay</internal-name>
+            <translation>成人の日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>nationalFoundationDay</internal-name>
+            <translation>建国記念の日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>vernalEquinoxDay</internal-name>
+            <translation>春分の日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>showaEmperorsBirthday</internal-name>
+            <translation>天皇誕生日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>showaDay</internal-name>
+            <translation>昭和の日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>constitutionMemorialDay</internal-name>
+            <translation>憲法記念日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>greeneryDay</internal-name>
+            <translation>みどりの日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>nationalHoliday</internal-name>
+            <translation>国民の休日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>childrensDay</internal-name>
+            <translation>こどもの日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>marineDay</internal-name>
+            <translation>海の日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>respectfortheAgedDay</internal-name>
+            <translation>敬老の日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>healthandSportsDay</internal-name>
+            <translation>体育の日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>autumnalEquinoxDay</internal-name>
+            <translation>秋分の日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>nationalHolidayBeforeAutumnalEquinoxDay</internal-name>
+            <translation>国民の休日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>nationalCultureDay</internal-name>
+            <translation>文化の日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>laborThanksgivingDay</internal-name>
+            <translation>勤労感謝の日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>emperorsBirthday</internal-name>
+            <translation>天皇誕生日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>theRiteofWeddingofHIHCrownPrinceAkihito</internal-name>
+            <translation>皇太子明仁親王の結婚の儀</translation>
+        </holiday>
+        <holiday>
+            <internal-name>theFuneralCeremonyofEmperorShowa.</internal-name>
+            <translation>昭和天皇の大喪の礼</translation>
+        </holiday>
+        <holiday>
+            <internal-name>theCeremonyoftheEnthronementofHisMajestytheEmperor(attheSeiden)</internal-name>
+            <translation>即位礼 正殿の儀</translation>
+        </holiday>
+        <holiday>
+            <internal-name>theRiteofWeddingofHIHCrownPrinceNaruhito</internal-name>
+            <translation>皇太子徳仁親王の結婚の儀</translation>
+        </holiday>
+        <holiday>
+            <internal-name>substituteHolidayFornewYearsDay</internal-name>
+            <translation>振替休日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>substituteHolidayForcomingOfAgeDay</internal-name>
+            <translation>振替休日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>substituteHolidayFornationalFoundationDay</internal-name>
+            <translation>振替休日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>substituteHolidayForvernalEquinoxDay</internal-name>
+            <translation>振替休日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>substituteHolidayForshowaDay</internal-name>
+            <translation>振替休日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>substituteHolidayForconstitutionMemorialDay</internal-name>
+            <translation>振替休日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>substituteHolidayForgreeneryDay</internal-name>
+            <translation>振替休日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>substituteHolidayForchildrensDay</internal-name>
+            <translation>振替休日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>substituteHolidayFormarineDay</internal-name>
+            <translation>振替休日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>substituteHolidayForrespectfortheAgedDay</internal-name>
+            <translation>振替休日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>substituteHolidayForhealthandSportsDay</internal-name>
+            <translation>振替休日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>substituteHolidayForautumnalEquinoxDay</internal-name>
+            <translation>振替休日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>substituteHolidayFornationalHolidayBeforeAutumnalEquinoxDay</internal-name>
+            <translation>振替休日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>substituteHolidayFornationalCultureDay</internal-name>
+            <translation>振替休日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>substituteHolidayForlaborThanksgivingDay</internal-name>
+            <translation>振替休日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>substituteHolidayForemperorsBirthday</internal-name>
+            <translation>振替休日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>substituteHolidayFortheRiteofWeddingofHIHCrownPrinceAkihito</internal-name>
+            <translation>振替休日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>substituteHolidayFortheFuneralCeremonyofEmperorShowa.</internal-name>
+            <translation>振替休日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>substituteHolidayFortheCeremonyoftheEnthronementofHisMajestytheEmperor(attheSeiden)</internal-name>
+            <translation>振替休日</translation>
+        </holiday>
+        <holiday>
+            <internal-name>substituteHolidayFortheRiteofWeddingofHIHCrownPrinceNaruhito</internal-name>
+            <translation>振替休日</translation>
+        </holiday>
+    </holidays>
+</driver-data>
diff --git a/Date_Holidays_Japan-0.1.1/tests/Date_Holidays_Driver_Japan_TestSuite.php b/Date_Holidays_Japan-0.1.1/tests/Date_Holidays_Driver_Japan_TestSuite.php
new file mode 100644
index 0000000..9848113
--- /dev/null
+++ b/Date_Holidays_Japan-0.1.1/tests/Date_Holidays_Driver_Japan_TestSuite.php
@@ -0,0 +1,1587 @@
+<?php
+/**
+ * Test class for running unit tests related to the driver for holidays
+ * in Japan
+ *
+ * PHP Versions 4 and 5
+ *
+ * @category Date
+ * @package  Date_Holidays
+ * @author   Hideyuki Shimooka <shimooka at doyouphp.jp>
+ * @license  http://www.php.net/license/3_01.txt PHP License 3.0.1
+ * @version  CVS: $Id: Date_Holidays_Driver_Japan_TestSuite.php,v 1.4 2008/09/06 12:17:57 shimooka Exp $
+ * @link     http://pear.php.net/package/Date_Holidays
+ */
+if (!defined("PHPUnit_MAIN_METHOD")) {
+    define("PHPUnit_MAIN_METHOD", "Date_HolidaysTest::main");
+}
+
+require_once 'Date/Holidays.php';
+
+define('LANG_FILE', '/usr/local/lib/php5/pear/data/Date_Holidays_Japan/lang/');
+
+/**
+ * Test class for running unit tests related to the driver for holidays
+ * in Japan
+ *
+ * @uses PHPUnit_Framework_TestCase
+ * @category Date
+ * @package  Date_Holidays
+ * @author   Hideyuki Shimooka <shimooka at doyouphp.jp>
+ * @license  http://www.php.net/license/3_01.txt PHP License 3.0.1
+ * @version  CVS: $Id: Date_Holidays_Driver_Japan_TestSuite.php,v 1.4 2008/09/06 12:17:57 shimooka Exp $
+ * @link     http://pear.php.net/package/Date_Holidays
+ */
+class Date_Holidays_Driver_Japan_TestSuite extends PHPUnit_Framework_TestCase
+{
+    var $_holidays;
+
+    /**
+     * setUp
+     *
+     * @access public
+     * @return void
+     */
+    function setUp()
+    {
+        $this->_holidays = array(
+            '1970-01-01' => true,
+            '1970-01-15' => true,
+            '1970-02-11' => true,
+            '1970-03-21' => true,
+            '1970-04-29' => true,
+            '1970-05-03' => true,
+            '1970-05-05' => true,
+            '1970-09-15' => true,
+            '1970-09-23' => true,
+            '1970-10-10' => true,
+            '1970-11-03' => true,
+            '1970-11-23' => true,
+            '1971-01-01' => true,
+            '1971-01-15' => true,
+            '1971-02-11' => true,
+            '1971-03-21' => true,
+            '1971-04-29' => true,
+            '1971-05-03' => true,
+            '1971-05-05' => true,
+            '1971-09-15' => true,
+            '1971-09-24' => true,
+            '1971-10-10' => true,
+            '1971-11-03' => true,
+            '1971-11-23' => true,
+            '1972-01-01' => true,
+            '1972-01-15' => true,
+            '1972-02-11' => true,
+            '1972-03-20' => true,
+            '1972-04-29' => true,
+            '1972-05-03' => true,
+            '1972-05-05' => true,
+            '1972-09-15' => true,
+            '1972-09-23' => true,
+            '1972-10-10' => true,
+            '1972-11-03' => true,
+            '1972-11-23' => true,
+            '1973-01-01' => true,
+            '1973-01-15' => true,
+            '1973-02-11' => true,
+            '1973-03-21' => true,
+            '1973-04-29' => true,
+            '1973-04-30' => true,
+            '1973-05-03' => true,
+            '1973-05-05' => true,
+            '1973-09-15' => true,
+            '1973-09-23' => true,
+            '1973-09-24' => true,
+            '1973-10-10' => true,
+            '1973-11-03' => true,
+            '1973-11-23' => true,
+            '1974-01-01' => true,
+            '1974-01-15' => true,
+            '1974-02-11' => true,
+            '1974-03-21' => true,
+            '1974-04-29' => true,
+            '1974-05-03' => true,
+            '1974-05-05' => true,
+            '1974-05-06' => true,
+            '1974-09-15' => true,
+            '1974-09-16' => true,
+            '1974-09-23' => true,
+            '1974-10-10' => true,
+            '1974-11-03' => true,
+            '1974-11-04' => true,
+            '1974-11-23' => true,
+            '1975-01-01' => true,
+            '1975-01-15' => true,
+            '1975-02-11' => true,
+            '1975-03-21' => true,
+            '1975-04-29' => true,
+            '1975-05-03' => true,
+            '1975-05-05' => true,
+            '1975-09-15' => true,
+            '1975-09-24' => true,
+            '1975-10-10' => true,
+            '1975-11-03' => true,
+            '1975-11-23' => true,
+            '1975-11-24' => true,
+            '1976-01-01' => true,
+            '1976-01-15' => true,
+            '1976-02-11' => true,
+            '1976-03-20' => true,
+            '1976-04-29' => true,
+            '1976-05-03' => true,
+            '1976-05-05' => true,
+            '1976-09-15' => true,
+            '1976-09-23' => true,
+            '1976-10-10' => true,
+            '1976-10-11' => true,
+            '1976-11-03' => true,
+            '1976-11-23' => true,
+            '1977-01-01' => true,
+            '1977-01-15' => true,
+            '1977-02-11' => true,
+            '1977-03-21' => true,
+            '1977-04-29' => true,
+            '1977-05-03' => true,
+            '1977-05-05' => true,
+            '1977-09-15' => true,
+            '1977-09-23' => true,
+            '1977-10-10' => true,
+            '1977-11-03' => true,
+            '1977-11-23' => true,
+            '1978-01-01' => true,
+            '1978-01-02' => true,
+            '1978-01-15' => true,
+            '1978-01-16' => true,
+            '1978-02-11' => true,
+            '1978-03-21' => true,
+            '1978-04-29' => true,
+            '1978-05-03' => true,
+            '1978-05-05' => true,
+            '1978-09-15' => true,
+            '1978-09-23' => true,
+            '1978-10-10' => true,
+            '1978-11-03' => true,
+            '1978-11-23' => true,
+            '1979-01-01' => true,
+            '1979-01-15' => true,
+            '1979-02-11' => true,
+            '1979-02-12' => true,
+            '1979-03-21' => true,
+            '1979-04-29' => true,
+            '1979-04-30' => true,
+            '1979-05-03' => true,
+            '1979-05-05' => true,
+            '1979-09-15' => true,
+            '1979-09-24' => true,
+            '1979-10-10' => true,
+            '1979-11-03' => true,
+            '1979-11-23' => true,
+            '1980-01-01' => true,
+            '1980-01-15' => true,
+            '1980-02-11' => true,
+            '1980-03-20' => true,
+            '1980-04-29' => true,
+            '1980-05-03' => true,
+            '1980-05-05' => true,
+            '1980-09-15' => true,
+            '1980-09-23' => true,
+            '1980-10-10' => true,
+            '1980-11-03' => true,
+            '1980-11-23' => true,
+            '1980-11-24' => true,
+            '1981-01-01' => true,
+            '1981-01-15' => true,
+            '1981-02-11' => true,
+            '1981-03-21' => true,
+            '1981-04-29' => true,
+            '1981-05-03' => true,
+            '1981-05-04' => true,
+            '1981-05-05' => true,
+            '1981-09-15' => true,
+            '1981-09-23' => true,
+            '1981-10-10' => true,
+            '1981-11-03' => true,
+            '1981-11-23' => true,
+            '1982-01-01' => true,
+            '1982-01-15' => true,
+            '1982-02-11' => true,
+            '1982-03-21' => true,
+            '1982-03-22' => true,
+            '1982-04-29' => true,
+            '1982-05-03' => true,
+            '1982-05-05' => true,
+            '1982-09-15' => true,
+            '1982-09-23' => true,
+            '1982-10-10' => true,
+            '1982-10-11' => true,
+            '1982-11-03' => true,
+            '1982-11-23' => true,
+            '1983-01-01' => true,
+            '1983-01-15' => true,
+            '1983-02-11' => true,
+            '1983-03-21' => true,
+            '1983-04-29' => true,
+            '1983-05-03' => true,
+            '1983-05-05' => true,
+            '1983-09-15' => true,
+            '1983-09-23' => true,
+            '1983-10-10' => true,
+            '1983-11-03' => true,
+            '1983-11-23' => true,
+            '1984-01-01' => true,
+            '1984-01-02' => true,
+            '1984-01-15' => true,
+            '1984-01-16' => true,
+            '1984-02-11' => true,
+            '1984-03-20' => true,
+            '1984-04-29' => true,
+            '1984-04-30' => true,
+            '1984-05-03' => true,
+            '1984-05-05' => true,
+            '1984-09-15' => true,
+            '1984-09-23' => true,
+            '1984-09-24' => true,
+            '1984-10-10' => true,
+            '1984-11-03' => true,
+            '1984-11-23' => true,
+            '1985-01-01' => true,
+            '1985-01-15' => true,
+            '1985-02-11' => true,
+            '1985-03-21' => true,
+            '1985-04-29' => true,
+            '1985-05-03' => true,
+            '1985-05-05' => true,
+            '1985-05-06' => true,
+            '1985-09-15' => true,
+            '1985-09-16' => true,
+            '1985-09-23' => true,
+            '1985-10-10' => true,
+            '1985-11-03' => true,
+            '1985-11-04' => true,
+            '1985-11-23' => true,
+            '1986-01-01' => true,
+            '1986-01-15' => true,
+            '1986-02-11' => true,
+            '1986-03-21' => true,
+            '1986-04-29' => true,
+            '1986-05-03' => true,
+            '1986-05-05' => true,
+            '1986-09-15' => true,
+            '1986-09-23' => true,
+            '1986-10-10' => true,
+            '1986-11-03' => true,
+            '1986-11-23' => true,
+            '1986-11-24' => true,
+            '1987-01-01' => true,
+            '1987-01-15' => true,
+            '1987-02-11' => true,
+            '1987-03-21' => true,
+            '1987-04-29' => true,
+            '1987-05-03' => true,
+            '1987-05-04' => true,
+            '1987-05-05' => true,
+            '1987-09-15' => true,
+            '1987-09-23' => true,
+            '1987-10-10' => true,
+            '1987-11-03' => true,
+            '1987-11-23' => true,
+            '1988-01-01' => true,
+            '1988-01-15' => true,
+            '1988-02-11' => true,
+            '1988-03-20' => true,
+            '1988-03-21' => true,
+            '1988-04-29' => true,
+            '1988-05-03' => true,
+            '1988-05-04' => true,
+            '1988-05-05' => true,
+            '1988-09-15' => true,
+            '1988-09-23' => true,
+            '1988-10-10' => true,
+            '1988-11-03' => true,
+            '1988-11-23' => true,
+            '1989-01-01' => true,
+            '1989-01-02' => true,
+            '1989-01-15' => true,
+            '1989-01-16' => true,
+            '1989-02-11' => true,
+            '1989-02-24' => true,
+            '1989-03-21' => true,
+            '1989-04-29' => true,
+            '1989-05-03' => true,
+            '1989-05-04' => true,
+            '1989-05-05' => true,
+            '1989-09-15' => true,
+            '1989-09-23' => true,
+            '1989-10-10' => true,
+            '1989-11-03' => true,
+            '1989-11-23' => true,
+            '1989-12-23' => true,
+            '1990-01-01' => true,
+            '1990-01-15' => true,
+            '1990-02-11' => true,
+            '1990-02-12' => true,
+            '1990-03-21' => true,
+            '1990-04-29' => true,
+            '1990-04-30' => true,
+            '1990-05-03' => true,
+            '1990-05-04' => true,
+            '1990-05-05' => true,
+            '1990-09-15' => true,
+            '1990-09-23' => true,
+            '1990-09-24' => true,
+            '1990-10-10' => true,
+            '1990-11-03' => true,
+            '1990-11-12' => true,
+            '1990-11-23' => true,
+            '1990-12-23' => true,
+            '1990-12-24' => true,
+            '1991-01-01' => true,
+            '1991-01-15' => true,
+            '1991-02-11' => true,
+            '1991-03-21' => true,
+            '1991-04-29' => true,
+            '1991-05-03' => true,
+            '1991-05-04' => true,
+            '1991-05-05' => true,
+            '1991-05-06' => true,
+            '1991-09-15' => true,
+            '1991-09-16' => true,
+            '1991-09-23' => true,
+            '1991-10-10' => true,
+            '1991-11-03' => true,
+            '1991-11-04' => true,
+            '1991-11-23' => true,
+            '1991-12-23' => true,
+            '1992-01-01' => true,
+            '1992-01-15' => true,
+            '1992-02-11' => true,
+            '1992-03-20' => true,
+            '1992-04-29' => true,
+            '1992-05-03' => true,
+            '1992-05-04' => true,
+            '1992-05-05' => true,
+            '1992-09-15' => true,
+            '1992-09-23' => true,
+            '1992-10-10' => true,
+            '1992-11-03' => true,
+            '1992-11-23' => true,
+            '1992-12-23' => true,
+            '1993-01-01' => true,
+            '1993-01-15' => true,
+            '1993-02-11' => true,
+            '1993-03-20' => true,
+            '1993-04-29' => true,
+            '1993-05-03' => true,
+            '1993-05-04' => true,
+            '1993-05-05' => true,
+            '1993-06-09' => true,
+            '1993-09-15' => true,
+            '1993-09-23' => true,
+            '1993-10-10' => true,
+            '1993-10-11' => true,
+            '1993-11-03' => true,
+            '1993-11-23' => true,
+            '1993-12-23' => true,
+            '1994-01-01' => true,
+            '1994-01-15' => true,
+            '1994-02-11' => true,
+            '1994-03-21' => true,
+            '1994-04-29' => true,
+            '1994-05-03' => true,
+            '1994-05-04' => true,
+            '1994-05-05' => true,
+            '1994-09-15' => true,
+            '1994-09-23' => true,
+            '1994-10-10' => true,
+            '1994-11-03' => true,
+            '1994-11-23' => true,
+            '1994-12-23' => true,
+            '1995-01-01' => true,
+            '1995-01-02' => true,
+            '1995-01-15' => true,
+            '1995-01-16' => true,
+            '1995-02-11' => true,
+            '1995-03-21' => true,
+            '1995-04-29' => true,
+            '1995-05-03' => true,
+            '1995-05-04' => true,
+            '1995-05-05' => true,
+            '1995-09-15' => true,
+            '1995-09-23' => true,
+            '1995-10-10' => true,
+            '1995-11-03' => true,
+            '1995-11-23' => true,
+            '1995-12-23' => true,
+            '1996-01-01' => true,
+            '1996-01-15' => true,
+            '1996-02-11' => true,
+            '1996-02-12' => true,
+            '1996-03-20' => true,
+            '1996-04-29' => true,
+            '1996-05-03' => true,
+            '1996-05-04' => true,
+            '1996-05-05' => true,
+            '1996-05-06' => true,
+            '1996-07-20' => true,
+            '1996-09-15' => true,
+            '1996-09-16' => true,
+            '1996-09-23' => true,
+            '1996-10-10' => true,
+            '1996-11-03' => true,
+            '1996-11-04' => true,
+            '1996-11-23' => true,
+            '1996-12-23' => true,
+            '1997-01-01' => true,
+            '1997-01-15' => true,
+            '1997-02-11' => true,
+            '1997-03-20' => true,
+            '1997-04-29' => true,
+            '1997-05-03' => true,
+            '1997-05-05' => true,
+            '1997-07-20' => true,
+            '1997-07-21' => true,
+            '1997-09-15' => true,
+            '1997-09-23' => true,
+            '1997-10-10' => true,
+            '1997-11-03' => true,
+            '1997-11-23' => true,
+            '1997-11-24' => true,
+            '1997-12-23' => true,
+            '1998-01-01' => true,
+            '1998-01-15' => true,
+            '1998-02-11' => true,
+            '1998-03-21' => true,
+            '1998-04-29' => true,
+            '1998-05-03' => true,
+            '1998-05-04' => true,
+            '1998-05-05' => true,
+            '1998-07-20' => true,
+            '1998-09-15' => true,
+            '1998-09-23' => true,
+            '1998-10-10' => true,
+            '1998-11-03' => true,
+            '1998-11-23' => true,
+            '1998-12-23' => true,
+            '1999-01-01' => true,
+            '1999-01-15' => true,
+            '1999-02-11' => true,
+            '1999-03-21' => true,
+            '1999-03-22' => true,
+            '1999-04-29' => true,
+            '1999-05-03' => true,
+            '1999-05-04' => true,
+            '1999-05-05' => true,
+            '1999-07-20' => true,
+            '1999-09-15' => true,
+            '1999-09-23' => true,
+            '1999-10-10' => true,
+            '1999-10-11' => true,
+            '1999-11-03' => true,
+            '1999-11-23' => true,
+            '1999-12-23' => true,
+            '2000-01-01' => true,
+            '2000-01-10' => true,
+            '2000-02-11' => true,
+            '2000-03-20' => true,
+            '2000-04-29' => true,
+            '2000-05-03' => true,
+            '2000-05-04' => true,
+            '2000-05-05' => true,
+            '2000-07-20' => true,
+            '2000-09-15' => true,
+            '2000-09-23' => true,
+            '2000-10-09' => true,
+            '2000-11-03' => true,
+            '2000-11-23' => true,
+            '2000-12-23' => true,
+            '2001-01-01' => true,
+            '2001-01-08' => true,
+            '2001-02-11' => true,
+            '2001-02-12' => true,
+            '2001-03-20' => true,
+            '2001-04-29' => true,
+            '2001-04-30' => true,
+            '2001-05-03' => true,
+            '2001-05-04' => true,
+            '2001-05-05' => true,
+            '2001-07-20' => true,
+            '2001-09-15' => true,
+            '2001-09-23' => true,
+            '2001-09-24' => true,
+            '2001-10-08' => true,
+            '2001-11-03' => true,
+            '2001-11-23' => true,
+            '2001-12-23' => true,
+            '2001-12-24' => true,
+            '2002-01-01' => true,
+            '2002-01-14' => true,
+            '2002-02-11' => true,
+            '2002-03-21' => true,
+            '2002-04-29' => true,
+            '2002-05-03' => true,
+            '2002-05-04' => true,
+            '2002-05-05' => true,
+            '2002-05-06' => true,
+            '2002-07-20' => true,
+            '2002-09-15' => true,
+            '2002-09-16' => true,
+            '2002-09-23' => true,
+            '2002-10-14' => true,
+            '2002-11-03' => true,
+            '2002-11-04' => true,
+            '2002-11-23' => true,
+            '2002-12-23' => true,
+            '2003-01-01' => true,
+            '2003-01-13' => true,
+            '2003-02-11' => true,
+            '2003-03-21' => true,
+            '2003-04-29' => true,
+            '2003-05-03' => true,
+            '2003-05-05' => true,
+            '2003-07-21' => true,
+            '2003-09-15' => true,
+            '2003-09-23' => true,
+            '2003-10-13' => true,
+            '2003-11-03' => true,
+            '2003-11-23' => true,
+            '2003-11-24' => true,
+            '2003-12-23' => true,
+            '2004-01-01' => true,
+            '2004-01-12' => true,
+            '2004-02-11' => true,
+            '2004-03-20' => true,
+            '2004-04-29' => true,
+            '2004-05-03' => true,
+            '2004-05-04' => true,
+            '2004-05-05' => true,
+            '2004-07-19' => true,
+            '2004-09-20' => true,
+            '2004-09-23' => true,
+            '2004-10-11' => true,
+            '2004-11-03' => true,
+            '2004-11-23' => true,
+            '2004-12-23' => true,
+            '2005-01-01' => true,
+            '2005-01-10' => true,
+            '2005-02-11' => true,
+            '2005-03-20' => true,
+            '2005-03-21' => true,
+            '2005-04-29' => true,
+            '2005-05-03' => true,
+            '2005-05-04' => true,
+            '2005-05-05' => true,
+            '2005-07-18' => true,
+            '2005-09-19' => true,
+            '2005-09-23' => true,
+            '2005-10-10' => true,
+            '2005-11-03' => true,
+            '2005-11-23' => true,
+            '2005-12-23' => true,
+            '2006-01-01' => true,
+            '2006-01-02' => true,
+            '2006-01-09' => true,
+            '2006-02-11' => true,
+            '2006-03-21' => true,
+            '2006-04-29' => true,
+            '2006-05-03' => true,
+            '2006-05-04' => true,
+            '2006-05-05' => true,
+            '2006-07-17' => true,
+            '2006-09-18' => true,
+            '2006-09-23' => true,
+            '2006-10-09' => true,
+            '2006-11-03' => true,
+            '2006-11-23' => true,
+            '2006-12-23' => true,
+            '2007-01-01' => true,
+            '2007-01-08' => true,
+            '2007-02-11' => true,
+            '2007-02-12' => true,
+            '2007-03-21' => true,
+            '2007-04-29' => true,
+            '2007-04-30' => true,
+            '2007-05-03' => true,
+            '2007-05-04' => true,
+            '2007-05-05' => true,
+            '2007-07-16' => true,
+            '2007-09-17' => true,
+            '2007-09-23' => true,
+            '2007-09-24' => true,
+            '2007-10-08' => true,
+            '2007-11-03' => true,
+            '2007-11-23' => true,
+            '2007-12-23' => true,
+            '2007-12-24' => true,
+            '2008-01-01' => true,
+            '2008-01-14' => true,
+            '2008-02-11' => true,
+            '2008-03-20' => true,
+            '2008-04-29' => true,
+            '2008-05-03' => true,
+            '2008-05-04' => true,
+            '2008-05-05' => true,
+            '2008-05-06' => true,
+            '2008-07-21' => true,
+            '2008-09-15' => true,
+            '2008-09-23' => true,
+            '2008-10-13' => true,
+            '2008-11-03' => true,
+            '2008-11-23' => true,
+            '2008-11-24' => true,
+            '2008-12-23' => true,
+            '2009-01-01' => true,
+            '2009-01-12' => true,
+            '2009-02-11' => true,
+            '2009-03-20' => true,
+            '2009-04-29' => true,
+            '2009-05-03' => true,
+            '2009-05-04' => true,
+            '2009-05-05' => true,
+            '2009-05-06' => true,
+            '2009-07-20' => true,
+            '2009-09-21' => true,
+            '2009-09-22' => true,
+            '2009-09-23' => true,
+            '2009-10-12' => true,
+            '2009-11-03' => true,
+            '2009-11-23' => true,
+            '2009-12-23' => true,
+            '2010-01-01' => true,
+            '2010-01-11' => true,
+            '2010-02-11' => true,
+            '2010-03-21' => true,
+            '2010-03-22' => true,
+            '2010-04-29' => true,
+            '2010-05-03' => true,
+            '2010-05-04' => true,
+            '2010-05-05' => true,
+            '2010-07-19' => true,
+            '2010-09-20' => true,
+            '2010-09-23' => true,
+            '2010-10-11' => true,
+            '2010-11-03' => true,
+            '2010-11-23' => true,
+            '2010-12-23' => true,
+            '2011-01-01' => true,
+            '2011-01-10' => true,
+            '2011-02-11' => true,
+            '2011-03-21' => true,
+            '2011-04-29' => true,
+            '2011-05-03' => true,
+            '2011-05-04' => true,
+            '2011-05-05' => true,
+            '2011-07-18' => true,
+            '2011-09-19' => true,
+            '2011-09-23' => true,
+            '2011-10-10' => true,
+            '2011-11-03' => true,
+            '2011-11-23' => true,
+            '2011-12-23' => true,
+            '2012-01-01' => true,
+            '2012-01-02' => true,
+            '2012-01-09' => true,
+            '2012-02-11' => true,
+            '2012-03-20' => true,
+            '2012-04-29' => true,
+            '2012-04-30' => true,
+            '2012-05-03' => true,
+            '2012-05-04' => true,
+            '2012-05-05' => true,
+            '2012-07-16' => true,
+            '2012-09-17' => true,
+            '2012-09-22' => true,
+            '2012-10-08' => true,
+            '2012-11-03' => true,
+            '2012-11-23' => true,
+            '2012-12-23' => true,
+            '2012-12-24' => true,
+            '2013-01-01' => true,
+            '2013-01-14' => true,
+            '2013-02-11' => true,
+            '2013-03-20' => true,
+            '2013-04-29' => true,
+            '2013-05-03' => true,
+            '2013-05-04' => true,
+            '2013-05-05' => true,
+            '2013-05-06' => true,
+            '2013-07-15' => true,
+            '2013-09-16' => true,
+            '2013-09-23' => true,
+            '2013-10-14' => true,
+            '2013-11-03' => true,
+            '2013-11-04' => true,
+            '2013-11-23' => true,
+            '2013-12-23' => true,
+            '2014-01-01' => true,
+            '2014-01-13' => true,
+            '2014-02-11' => true,
+            '2014-03-21' => true,
+            '2014-04-29' => true,
+            '2014-05-03' => true,
+            '2014-05-04' => true,
+            '2014-05-05' => true,
+            '2014-05-06' => true,
+            '2014-07-21' => true,
+            '2014-09-15' => true,
+            '2014-09-23' => true,
+            '2014-10-13' => true,
+            '2014-11-03' => true,
+            '2014-11-23' => true,
+            '2014-11-24' => true,
+            '2014-12-23' => true,
+            '2015-01-01' => true,
+            '2015-01-12' => true,
+            '2015-02-11' => true,
+            '2015-03-21' => true,
+            '2015-04-29' => true,
+            '2015-05-03' => true,
+            '2015-05-04' => true,
+            '2015-05-05' => true,
+            '2015-05-06' => true,
+            '2015-07-20' => true,
+            '2015-09-21' => true,
+            '2015-09-22' => true,
+            '2015-09-23' => true,
+            '2015-10-12' => true,
+            '2015-11-03' => true,
+            '2015-11-23' => true,
+            '2015-12-23' => true,
+            '2016-01-01' => true,
+            '2016-01-11' => true,
+            '2016-02-11' => true,
+            '2016-03-20' => true,
+            '2016-03-21' => true,
+            '2016-04-29' => true,
+            '2016-05-03' => true,
+            '2016-05-04' => true,
+            '2016-05-05' => true,
+            '2016-07-18' => true,
+            '2016-09-19' => true,
+            '2016-09-22' => true,
+            '2016-10-10' => true,
+            '2016-11-03' => true,
+            '2016-11-23' => true,
+            '2016-12-23' => true,
+            '2017-01-01' => true,
+            '2017-01-02' => true,
+            '2017-01-09' => true,
+            '2017-02-11' => true,
+            '2017-03-20' => true,
+            '2017-04-29' => true,
+            '2017-05-03' => true,
+            '2017-05-04' => true,
+            '2017-05-05' => true,
+            '2017-07-17' => true,
+            '2017-09-18' => true,
+            '2017-09-23' => true,
+            '2017-10-09' => true,
+            '2017-11-03' => true,
+            '2017-11-23' => true,
+            '2017-12-23' => true,
+            '2018-01-01' => true,
+            '2018-01-08' => true,
+            '2018-02-11' => true,
+            '2018-02-12' => true,
+            '2018-03-21' => true,
+            '2018-04-29' => true,
+            '2018-04-30' => true,
+            '2018-05-03' => true,
+            '2018-05-04' => true,
+            '2018-05-05' => true,
+            '2018-07-16' => true,
+            '2018-09-17' => true,
+            '2018-09-23' => true,
+            '2018-09-24' => true,
+            '2018-10-08' => true,
+            '2018-11-03' => true,
+            '2018-11-23' => true,
+            '2018-12-23' => true,
+            '2018-12-24' => true,
+            '2019-01-01' => true,
+            '2019-01-14' => true,
+            '2019-02-11' => true,
+            '2019-03-21' => true,
+            '2019-04-29' => true,
+            '2019-05-03' => true,
+            '2019-05-04' => true,
+            '2019-05-05' => true,
+            '2019-05-06' => true,
+            '2019-07-15' => true,
+            '2019-09-16' => true,
+            '2019-09-23' => true,
+            '2019-10-14' => true,
+            '2019-11-03' => true,
+            '2019-11-04' => true,
+            '2019-11-23' => true,
+            '2019-12-23' => true,
+            '2020-01-01' => true,
+            '2020-01-13' => true,
+            '2020-02-11' => true,
+            '2020-03-20' => true,
+            '2020-04-29' => true,
+            '2020-05-03' => true,
+            '2020-05-04' => true,
+            '2020-05-05' => true,
+            '2020-05-06' => true,
+            '2020-07-20' => true,
+            '2020-09-21' => true,
+            '2020-09-22' => true,
+            '2020-10-12' => true,
+            '2020-11-03' => true,
+            '2020-11-23' => true,
+            '2020-12-23' => true,
+            '2021-01-01' => true,
+            '2021-01-11' => true,
+            '2021-02-11' => true,
+            '2021-03-20' => true,
+            '2021-04-29' => true,
+            '2021-05-03' => true,
+            '2021-05-04' => true,
+            '2021-05-05' => true,
+            '2021-07-19' => true,
+            '2021-09-20' => true,
+            '2021-09-23' => true,
+            '2021-10-11' => true,
+            '2021-11-03' => true,
+            '2021-11-23' => true,
+            '2021-12-23' => true,
+            '2022-01-01' => true,
+            '2022-01-10' => true,
+            '2022-02-11' => true,
+            '2022-03-21' => true,
+            '2022-04-29' => true,
+            '2022-05-03' => true,
+            '2022-05-04' => true,
+            '2022-05-05' => true,
+            '2022-07-18' => true,
+            '2022-09-19' => true,
+            '2022-09-23' => true,
+            '2022-10-10' => true,
+            '2022-11-03' => true,
+            '2022-11-23' => true,
+            '2022-12-23' => true,
+            '2023-01-01' => true,
+            '2023-01-02' => true,
+            '2023-01-09' => true,
+            '2023-02-11' => true,
+            '2023-03-21' => true,
+            '2023-04-29' => true,
+            '2023-05-03' => true,
+            '2023-05-04' => true,
+            '2023-05-05' => true,
+            '2023-07-17' => true,
+            '2023-09-18' => true,
+            '2023-09-23' => true,
+            '2023-10-09' => true,
+            '2023-11-03' => true,
+            '2023-11-23' => true,
+            '2023-12-23' => true,
+            '2024-01-01' => true,
+            '2024-01-08' => true,
+            '2024-02-11' => true,
+            '2024-02-12' => true,
+            '2024-03-20' => true,
+            '2024-04-29' => true,
+            '2024-05-03' => true,
+            '2024-05-04' => true,
+            '2024-05-05' => true,
+            '2024-05-06' => true,
+            '2024-07-15' => true,
+            '2024-09-16' => true,
+            '2024-09-22' => true,
+            '2024-09-23' => true,
+            '2024-10-14' => true,
+            '2024-11-03' => true,
+            '2024-11-04' => true,
+            '2024-11-23' => true,
+            '2024-12-23' => true,
+            '2025-01-01' => true,
+            '2025-01-13' => true,
+            '2025-02-11' => true,
+            '2025-03-20' => true,
+            '2025-04-29' => true,
+            '2025-05-03' => true,
+            '2025-05-04' => true,
+            '2025-05-05' => true,
+            '2025-05-06' => true,
+            '2025-07-21' => true,
+            '2025-09-15' => true,
+            '2025-09-23' => true,
+            '2025-10-13' => true,
+            '2025-11-03' => true,
+            '2025-11-23' => true,
+            '2025-11-24' => true,
+            '2025-12-23' => true,
+            '2026-01-01' => true,
+            '2026-01-12' => true,
+            '2026-02-11' => true,
+            '2026-03-20' => true,
+            '2026-04-29' => true,
+            '2026-05-03' => true,
+            '2026-05-04' => true,
+            '2026-05-05' => true,
+            '2026-05-06' => true,
+            '2026-07-20' => true,
+            '2026-09-21' => true,
+            '2026-09-22' => true,
+            '2026-09-23' => true,
+            '2026-10-12' => true,
+            '2026-11-03' => true,
+            '2026-11-23' => true,
+            '2026-12-23' => true,
+            '2027-01-01' => true,
+            '2027-01-11' => true,
+            '2027-02-11' => true,
+            '2027-03-21' => true,
+            '2027-03-22' => true,
+            '2027-04-29' => true,
+            '2027-05-03' => true,
+            '2027-05-04' => true,
+            '2027-05-05' => true,
+            '2027-07-19' => true,
+            '2027-09-20' => true,
+            '2027-09-23' => true,
+            '2027-10-11' => true,
+            '2027-11-03' => true,
+            '2027-11-23' => true,
+            '2027-12-23' => true,
+            '2028-01-01' => true,
+            '2028-01-10' => true,
+            '2028-02-11' => true,
+            '2028-03-20' => true,
+            '2028-04-29' => true,
+            '2028-05-03' => true,
+            '2028-05-04' => true,
+            '2028-05-05' => true,
+            '2028-07-17' => true,
+            '2028-09-18' => true,
+            '2028-09-22' => true,
+            '2028-10-09' => true,
+            '2028-11-03' => true,
+            '2028-11-23' => true,
+            '2028-12-23' => true,
+            '2029-01-01' => true,
+            '2029-01-08' => true,
+            '2029-02-11' => true,
+            '2029-02-12' => true,
+            '2029-03-20' => true,
+            '2029-04-29' => true,
+            '2029-04-30' => true,
+            '2029-05-03' => true,
+            '2029-05-04' => true,
+            '2029-05-05' => true,
+            '2029-07-16' => true,
+            '2029-09-17' => true,
+            '2029-09-23' => true,
+            '2029-09-24' => true,
+            '2029-10-08' => true,
+            '2029-11-03' => true,
+            '2029-11-23' => true,
+            '2029-12-23' => true,
+            '2029-12-24' => true,
+            '2030-01-01' => true,
+            '2030-01-14' => true,
+            '2030-02-11' => true,
+            '2030-03-20' => true,
+            '2030-04-29' => true,
+            '2030-05-03' => true,
+            '2030-05-04' => true,
+            '2030-05-05' => true,
+            '2030-05-06' => true,
+            '2030-07-15' => true,
+            '2030-09-16' => true,
+            '2030-09-23' => true,
+            '2030-10-14' => true,
+            '2030-11-03' => true,
+            '2030-11-04' => true,
+            '2030-11-23' => true,
+            '2030-12-23' => true,
+            '2031-01-01' => true,
+            '2031-01-13' => true,
+            '2031-02-11' => true,
+            '2031-03-21' => true,
+            '2031-04-29' => true,
+            '2031-05-03' => true,
+            '2031-05-04' => true,
+            '2031-05-05' => true,
+            '2031-05-06' => true,
+            '2031-07-21' => true,
+            '2031-09-15' => true,
+            '2031-09-23' => true,
+            '2031-10-13' => true,
+            '2031-11-03' => true,
+            '2031-11-23' => true,
+            '2031-11-24' => true,
+            '2031-12-23' => true,
+            '2032-01-01' => true,
+            '2032-01-12' => true,
+            '2032-02-11' => true,
+            '2032-03-20' => true,
+            '2032-04-29' => true,
+            '2032-05-03' => true,
+            '2032-05-04' => true,
+            '2032-05-05' => true,
+            '2032-07-19' => true,
+            '2032-09-20' => true,
+            '2032-09-21' => true,
+            '2032-09-22' => true,
+            '2032-10-11' => true,
+            '2032-11-03' => true,
+            '2032-11-23' => true,
+            '2032-12-23' => true,
+            '2033-01-01' => true,
+            '2033-01-10' => true,
+            '2033-02-11' => true,
+            '2033-03-20' => true,
+            '2033-03-21' => true,
+            '2033-04-29' => true,
+            '2033-05-03' => true,
+            '2033-05-04' => true,
+            '2033-05-05' => true,
+            '2033-07-18' => true,
+            '2033-09-19' => true,
+            '2033-09-23' => true,
+            '2033-10-10' => true,
+            '2033-11-03' => true,
+            '2033-11-23' => true,
+            '2033-12-23' => true,
+            '2034-01-01' => true,
+            '2034-01-02' => true,
+            '2034-01-09' => true,
+            '2034-02-11' => true,
+            '2034-03-20' => true,
+            '2034-04-29' => true,
+            '2034-05-03' => true,
+            '2034-05-04' => true,
+            '2034-05-05' => true,
+            '2034-07-17' => true,
+            '2034-09-18' => true,
+            '2034-09-23' => true,
+            '2034-10-09' => true,
+            '2034-11-03' => true,
+            '2034-11-23' => true,
+            '2034-12-23' => true,
+            '2035-01-01' => true,
+            '2035-01-08' => true,
+            '2035-02-11' => true,
+            '2035-02-12' => true,
+            '2035-03-21' => true,
+            '2035-04-29' => true,
+            '2035-04-30' => true,
+            '2035-05-03' => true,
+            '2035-05-04' => true,
+            '2035-05-05' => true,
+            '2035-07-16' => true,
+            '2035-09-17' => true,
+            '2035-09-23' => true,
+            '2035-09-24' => true,
+            '2035-10-08' => true,
+            '2035-11-03' => true,
+            '2035-11-23' => true,
+            '2035-12-23' => true,
+            '2035-12-24' => true,
+            '2036-01-01' => true,
+            '2036-01-14' => true,
+            '2036-02-11' => true,
+            '2036-03-20' => true,
+            '2036-04-29' => true,
+            '2036-05-03' => true,
+            '2036-05-04' => true,
+            '2036-05-05' => true,
+            '2036-05-06' => true,
+            '2036-07-21' => true,
+            '2036-09-15' => true,
+            '2036-09-22' => true,
+            '2036-10-13' => true,
+            '2036-11-03' => true,
+            '2036-11-23' => true,
+            '2036-11-24' => true,
+            '2036-12-23' => true,
+            '2037-01-01' => true,
+            '2037-01-12' => true,
+            '2037-02-11' => true,
+            '2037-03-20' => true,
+            '2037-04-29' => true,
+            '2037-05-03' => true,
+            '2037-05-04' => true,
+            '2037-05-05' => true,
+            '2037-05-06' => true,
+            '2037-07-20' => true,
+            '2037-09-21' => true,
+            '2037-09-22' => true,
+            '2037-09-23' => true,
+            '2037-10-12' => true,
+            '2037-11-03' => true,
+            '2037-11-23' => true,
+            '2037-12-23' => true,
+            '2038-01-01' => true,
+            '2038-01-11' => true,
+            '2038-02-11' => true,
+            '2038-03-20' => true,
+            '2038-04-29' => true,
+            '2038-05-03' => true,
+            '2038-05-04' => true,
+            '2038-05-05' => true,
+            '2038-07-19' => true,
+            '2038-09-20' => true,
+            '2038-09-23' => true,
+            '2038-10-11' => true,
+            '2038-11-03' => true,
+            '2038-11-23' => true,
+            '2038-12-23' => true,
+            '2039-01-01' => true,
+            '2039-01-10' => true,
+            '2039-02-11' => true,
+            '2039-03-21' => true,
+            '2039-04-29' => true,
+            '2039-05-03' => true,
+            '2039-05-04' => true,
+            '2039-05-05' => true,
+            '2039-07-18' => true,
+            '2039-09-19' => true,
+            '2039-09-23' => true,
+            '2039-10-10' => true,
+            '2039-11-03' => true,
+            '2039-11-23' => true,
+            '2039-12-23' => true,
+            '2040-01-01' => true,
+            '2040-01-02' => true,
+            '2040-01-09' => true,
+            '2040-02-11' => true,
+            '2040-03-20' => true,
+            '2040-04-29' => true,
+            '2040-04-30' => true,
+            '2040-05-03' => true,
+            '2040-05-04' => true,
+            '2040-05-05' => true,
+            '2040-07-16' => true,
+            '2040-09-17' => true,
+            '2040-09-22' => true,
+            '2040-10-08' => true,
+            '2040-11-03' => true,
+            '2040-11-23' => true,
+            '2040-12-23' => true,
+            '2040-12-24' => true,
+            '2041-01-01' => true,
+            '2041-01-14' => true,
+            '2041-02-11' => true,
+            '2041-03-20' => true,
+            '2041-04-29' => true,
+            '2041-05-03' => true,
+            '2041-05-04' => true,
+            '2041-05-05' => true,
+            '2041-05-06' => true,
+            '2041-07-15' => true,
+            '2041-09-16' => true,
+            '2041-09-23' => true,
+            '2041-10-14' => true,
+            '2041-11-03' => true,
+            '2041-11-04' => true,
+            '2041-11-23' => true,
+            '2041-12-23' => true,
+            '2042-01-01' => true,
+            '2042-01-13' => true,
+            '2042-02-11' => true,
+            '2042-03-20' => true,
+            '2042-04-29' => true,
+            '2042-05-03' => true,
+            '2042-05-04' => true,
+            '2042-05-05' => true,
+            '2042-05-06' => true,
+            '2042-07-21' => true,
+            '2042-09-15' => true,
+            '2042-09-23' => true,
+            '2042-10-13' => true,
+            '2042-11-03' => true,
+            '2042-11-23' => true,
+            '2042-11-24' => true,
+            '2042-12-23' => true,
+            '2043-01-01' => true,
+            '2043-01-12' => true,
+            '2043-02-11' => true,
+            '2043-03-21' => true,
+            '2043-04-29' => true,
+            '2043-05-03' => true,
+            '2043-05-04' => true,
+            '2043-05-05' => true,
+            '2043-05-06' => true,
+            '2043-07-20' => true,
+            '2043-09-21' => true,
+            '2043-09-22' => true,
+            '2043-09-23' => true,
+            '2043-10-12' => true,
+            '2043-11-03' => true,
+            '2043-11-23' => true,
+            '2043-12-23' => true,
+            '2044-01-01' => true,
+            '2044-01-11' => true,
+            '2044-02-11' => true,
+            '2044-03-20' => true,
+            '2044-03-21' => true,
+            '2044-04-29' => true,
+            '2044-05-03' => true,
+            '2044-05-04' => true,
+            '2044-05-05' => true,
+            '2044-07-18' => true,
+            '2044-09-19' => true,
+            '2044-09-22' => true,
+            '2044-10-10' => true,
+            '2044-11-03' => true,
+            '2044-11-23' => true,
+            '2044-12-23' => true,
+            '2045-01-01' => true,
+            '2045-01-02' => true,
+            '2045-01-09' => true,
+            '2045-02-11' => true,
+            '2045-03-20' => true,
+            '2045-04-29' => true,
+            '2045-05-03' => true,
+            '2045-05-04' => true,
+            '2045-05-05' => true,
+            '2045-07-17' => true,
+            '2045-09-18' => true,
+            '2045-09-22' => true,
+            '2045-10-09' => true,
+            '2045-11-03' => true,
+            '2045-11-23' => true,
+            '2045-12-23' => true,
+            '2046-01-01' => true,
+            '2046-01-08' => true,
+            '2046-02-11' => true,
+            '2046-02-12' => true,
+            '2046-03-20' => true,
+            '2046-04-29' => true,
+            '2046-04-30' => true,
+            '2046-05-03' => true,
+            '2046-05-04' => true,
+            '2046-05-05' => true,
+            '2046-07-16' => true,
+            '2046-09-17' => true,
+            '2046-09-23' => true,
+            '2046-09-24' => true,
+            '2046-10-08' => true,
+            '2046-11-03' => true,
+            '2046-11-23' => true,
+            '2046-12-23' => true,
+            '2046-12-24' => true,
+            '2047-01-01' => true,
+            '2047-01-14' => true,
+            '2047-02-11' => true,
+            '2047-03-21' => true,
+            '2047-04-29' => true,
+            '2047-05-03' => true,
+            '2047-05-04' => true,
+            '2047-05-05' => true,
+            '2047-05-06' => true,
+            '2047-07-15' => true,
+            '2047-09-16' => true,
+            '2047-09-23' => true,
+            '2047-10-14' => true,
+            '2047-11-03' => true,
+            '2047-11-04' => true,
+            '2047-11-23' => true,
+            '2047-12-23' => true,
+            '2048-01-01' => true,
+            '2048-01-13' => true,
+            '2048-02-11' => true,
+            '2048-03-20' => true,
+            '2048-04-29' => true,
+            '2048-05-03' => true,
+            '2048-05-04' => true,
+            '2048-05-05' => true,
+            '2048-05-06' => true,
+            '2048-07-20' => true,
+            '2048-09-21' => true,
+            '2048-09-22' => true,
+            '2048-10-12' => true,
+            '2048-11-03' => true,
+            '2048-11-23' => true,
+            '2048-12-23' => true,
+            '2049-01-01' => true,
+            '2049-01-11' => true,
+            '2049-02-11' => true,
+            '2049-03-20' => true,
+            '2049-04-29' => true,
+            '2049-05-03' => true,
+            '2049-05-04' => true,
+            '2049-05-05' => true,
+            '2049-07-19' => true,
+            '2049-09-20' => true,
+            '2049-09-21' => true,
+            '2049-09-22' => true,
+            '2049-10-11' => true,
+            '2049-11-03' => true,
+            '2049-11-23' => true,
+            '2049-12-23' => true,
+            '2050-01-01' => true,
+            '2050-01-10' => true,
+            '2050-02-11' => true,
+            '2050-03-20' => true,
+            '2050-03-21' => true,
+            '2050-04-29' => true,
+            '2050-05-03' => true,
+            '2050-05-04' => true,
+            '2050-05-05' => true,
+            '2050-07-18' => true,
+            '2050-09-19' => true,
+            '2050-09-23' => true,
+            '2050-10-10' => true,
+            '2050-11-03' => true,
+            '2050-11-23' => true,
+            '2050-12-23' => true
+        );
+    }
+
+    /**
+     * tests for holidays from 1970 to 2050
+     *
+     * @access public
+     * @return void
+     */
+    function testHolidaysFrom1970to2050()
+    {
+        for ($year = 1970; $year < 2051; $year++) {
+            $obj =& Date_Holidays::factory('Japan', $year);
+            if (Date_Holidays::isError($obj)) {
+                $this->fail('Factory was unable to produce driver-object');
+            }
+
+            $invalid_holidays = array();
+            foreach ($obj->getHolidayDates() as $holiday) {
+                $dt = substr($holiday->getDate(), 0, 10);
+                if (array_key_exists($dt, $this->_holidays)) {
+                    unset($this->_holidays[$dt]);
+                } else {
+                    $invalid_holidays[] = $holiday->getDate();
+                }
+            }
+        }
+        // if all holidays was calculated or not
+        $this->assertEquals(0, count($this->_holidays));
+
+        // if no invalid holidays was calculated or not
+        $this->assertEquals(0, count($invalid_holidays));
+    }
+
+    /**
+     * test holidays from 1970 to 2050
+     *
+     * @access public
+     * @return void
+     */
+    function testSubstituteHolidaysInMay2008()
+    {
+        $obj = Date_Holidays::factory('Japan', 2008);
+        if (Date_Holidays::isError($obj)) {
+            $this->fail('Factory was unable to produce driver-object');
+        }
+        // calculate substitute holiday for Children's Day (1st time)
+        $this->assertTrue($obj->isHoliday(new Date('2008-05-06')), '1st time');
+
+        // calculate substitute holiday for Children's Day (2nd time)
+        // because re-calculated holidays internaly
+        $this->assertTrue($obj->isHoliday(new Date('2008-05-06')), '2nd time');
+
+        // in 2007, this day is not substitute holiday
+        $this->assertFalse($obj->isHoliday(new Date('2007-05-07')), 'in 2007');
+    }
+
+    /**
+     * test setYear with a xml translation file
+     *
+     * @access public
+     * @return void
+     */
+    function testSetYearWithXmlTranslationFile()
+    {
+        // with ja_JP.xml
+        $obj = Date_Holidays::factory('Japan', 2008);
+        if (Date_Holidays::isError($obj)) {
+            $this->fail('Factory was unable to produce driver-object');
+        }
+        $obj->addTranslationFile(LANG_FILE . '/Japan/ja_JP.xml', 'ja_JP');
+        if (Date_Holidays::isError($obj)) {
+            $this->fail('fail to add translation file');
+        }
+
+        $this->assertEquals('振替休日', $obj->getHolidayForDate(new Date('2008-05-06'), 'ja_JP')->getTitle(), '2008');
+
+        $obj->setYear(2009);
+        $this->assertEquals('振替休日', $obj->getHolidayForDate(new Date('2009-05-06'), 'ja_JP')->getTitle(), '2009');
+
+        $obj->setYear(2010);
+        $this->assertNull($obj->getHolidayForDate(new Date('2010-05-06'), 'ja_JP'), '2010');
+    }
+
+    /**
+     * test setYear with a .ser translation file
+     *
+     * @access public
+     * @return void
+     */
+    function testSetYearWithCompiledTranslationFile()
+    {
+        // with ja_JP.ser
+        $obj = Date_Holidays::factory('Japan', 2008);
+        if (Date_Holidays::isError($obj)) {
+            $this->fail('Factory was unable to produce driver-object');
+        }
+        $obj->addCompiledTranslationFile(LANG_FILE . '/Japan/ja_JP.ser', 'ja_JP');
+        if (Date_Holidays::isError($obj)) {
+            $this->fail('fail to add translation file');
+        }
+
+        $this->assertEquals('振替休日', $obj->getHolidayForDate(new Date('2008-05-06'), 'ja_JP')->getTitle(), '2008');
+
+        $obj->setYear(2009);
+        $this->assertEquals('振替休日', $obj->getHolidayForDate(new Date('2009-05-06'), 'ja_JP')->getTitle(), '2009');
+
+        $obj->setYear(2010);
+        $this->assertNull($obj->getHolidayForDate(new Date('2010-05-06'), 'ja_JP'), '2010');
+
+    }
+
+    /**
+     * tests for holidays from 1970 to 2050 with setYear()
+     *
+     * @access public
+     * @return void
+     */
+    function testHolidaysFrom1970to2050WithSetYear()
+    {
+        $obj =& Date_Holidays::factory('Japan');
+        if (Date_Holidays::isError($obj)) {
+            $this->fail('Factory was unable to produce driver-object');
+        }
+        for ($year = 1970; $year < 2051; $year++) {
+            $obj->setYear($year);
+            $invalid_holidays = array();
+            foreach ($obj->getHolidayDates() as $holiday) {
+                $dt = substr($holiday->getDate(), 0, 10);
+                if (array_key_exists($dt, $this->_holidays)) {
+                    unset($this->_holidays[$dt]);
+                } else {
+                    $invalid_holidays[] = $holiday->getDate();
+                }
+            }
+        }
+        // if all holidays was calculated or not
+        $this->assertEquals(0, count($this->_holidays));
+
+        // if no invalid holidays was calculated or not
+        $this->assertEquals(0, count($invalid_holidays));
+    }
+
+    /**
+     * tests showa day with .xml file (YYYY-MM-DD = YYYY-04-29)
+     *
+     * @access public
+     * @return void
+     */
+    function testShowaDay()
+    {
+        // with ja_JP.xml
+        $obj = Date_Holidays::factory('Japan', 1949);
+        if (Date_Holidays::isError($obj)) {
+            $this->fail('Factory was unable to produce driver-object');
+        }
+        $obj->addTranslationFile(LANG_FILE . '/Japan/ja_JP.xml', 'ja_JP');
+        if (Date_Holidays::isError($obj)) {
+            $this->fail('fail to add translation file');
+        }
+
+        $this->assertEquals('天皇誕生日', $obj->getHolidayForDate('1949-04-29', 'ja_JP')->getTitle(), 'showa day in 1949');
+
+        $obj->setYear(1989);
+        $this->assertEquals('みどりの日', $obj->getHolidayForDate('1989-04-29', 'ja_JP')->getTitle(), 'showa day in 1989');
+
+        $obj->setYear(2007);
+        $this->assertEquals('昭和の日', $obj->getHolidayForDate('2007-04-29', 'ja_JP')->getTitle(), 'showa day in 2007');
+    }
+
+    /**
+     * tests showa day with .xml file (YYYY-MM-DD = YYYY-04-29)
+     *
+     * @access public
+     * @return void
+     */
+    function testShowaDayWithCompiledTranslationFile()
+    {
+        // with ja_JP.ser
+        $obj = Date_Holidays::factory('Japan', 1949);
+        if (Date_Holidays::isError($obj)) {
+            $this->fail('Factory was unable to produce driver-object');
+        }
+        $obj->addCompiledTranslationFile(LANG_FILE . '/Japan/ja_JP.ser', 'ja_JP');
+        if (Date_Holidays::isError($obj)) {
+            $this->fail('fail to add translation file');
+        }
+
+        $this->assertEquals('天皇誕生日', $obj->getHolidayForDate('1949-04-29', 'ja_JP')->getTitle(), 'showa day in 1949');
+
+        $obj->setYear(1989);
+        $this->assertEquals('みどりの日', $obj->getHolidayForDate('1989-04-29', 'ja_JP')->getTitle(), 'showa day in 1989');
+
+        $obj->setYear(2007);
+        $this->assertEquals('昭和の日', $obj->getHolidayForDate('2007-04-29', 'ja_JP')->getTitle(), 'showa day in 2007');
+    }
+
+    /**
+     * tests greeney day with .xml file (YYYY-MM-DD = YYYY-05-04)
+     *
+     * @access public
+     * @return void
+     */
+    function testGreeneyDay()
+    {
+        // with ja_JP.xml
+        $obj = Date_Holidays::factory('Japan', 1986);
+        if (Date_Holidays::isError($obj)) {
+            $this->fail('Factory was unable to produce driver-object');
+        }
+        $obj->addTranslationFile(LANG_FILE . '/Japan/ja_JP.xml', 'ja_JP');
+        if (Date_Holidays::isError($obj)) {
+            $this->fail('fail to add translation file');
+        }
+
+        // the day of week on 1986-05-04 is 0 (sunday)
+        $this->assertNull($obj->getHolidayForDate('1986-05-04'));
+
+        $obj->setYear(1987);
+        $this->assertEquals('国民の休日', $obj->getHolidayForDate('1987-05-04', 'ja_JP')->getTitle(), 'showa day in 1987');
+
+        $obj->setYear(2007);
+        $this->assertEquals('みどりの日', $obj->getHolidayForDate('2007-05-04', 'ja_JP')->getTitle(), 'showa day in 2007');
+    }
+
+    /**
+     * tests greeney day with .ser file (YYYY-MM-DD = YYYY-05-04)
+     *
+     * @access public
+     * @return void
+     */
+    function testGreeneyDayWithCompiledTranslationFile()
+    {
+        // with ja_JP.ser
+        $obj = Date_Holidays::factory('Japan', 1986);
+        if (Date_Holidays::isError($obj)) {
+            $this->fail('Factory was unable to produce driver-object');
+        }
+        $obj->addCompiledTranslationFile(LANG_FILE . '/Japan/ja_JP.ser', 'ja_JP');
+        if (Date_Holidays::isError($obj)) {
+            $this->fail('fail to add translation file');
+        }
+
+        // the day of week on 1986-05-04 is 0 (sunday)
+        $this->assertNull($obj->getHolidayForDate('1986-05-04'));
+
+        $obj->setYear(1987);
+        $this->assertEquals('国民の休日', $obj->getHolidayForDate('1987-05-04', 'ja_JP')->getTitle(), 'showa day in 1987');
+
+        $obj->setYear(2007);
+        $this->assertEquals('みどりの日', $obj->getHolidayForDate('2007-05-04', 'ja_JP')->getTitle(), 'showa day in 2007');
+    }
+
+}
+
+?>
diff --git a/debian/changelog b/debian/changelog
deleted file mode 100644
index 50c64fb..0000000
--- a/debian/changelog
+++ /dev/null
@@ -1,6 +0,0 @@
-php-date-holidays-japan (0.1.1-1) stable; urgency=low
-
-  * Driver based class to calculate holidays in Japan.
-
- -- Jeroen van Meeuwen <vanmeeuwen at kolabsys.com>  Fri, 14 Jan 2011 11:11:11 +1111
-
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index 7ed6ff8..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-5
diff --git a/debian/control b/debian/control
deleted file mode 100644
index 9453176..0000000
--- a/debian/control
+++ /dev/null
@@ -1,12 +0,0 @@
-Source: php-date-holidays-japan
-Section: web
-Priority: optional
-Maintainer: Jeroen van Meeuwen <vanmeeuwen at kolabsys.com>
-Build-Depends: debhelper (>= 5)
-Build-Depends-Indep: php-pear
-Standards-Version: 3.9.1
-
-Package: php-date-holidays-japan
-Architecture: all
-Depends: php-pear (>= 5.2.0-8)
-Description: Driver based class to calculate holidays in Japan.
diff --git a/debian/gbp.conf b/debian/gbp.conf
deleted file mode 100644
index 2838043..0000000
--- a/debian/gbp.conf
+++ /dev/null
@@ -1,7 +0,0 @@
-[DEFAULT]
-debian-branch = master
-
-[git-buildpackage]
-export-dir = ../builds/php-date-holidays-japan
-ignore-new = True
-upstream-tag = upstream/0.1.1
diff --git a/debian/rules b/debian/rules
deleted file mode 100755
index 2050f89..0000000
--- a/debian/rules
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/usr/bin/make -f
-
-PEAR ?= /usr/bin/pear
-pear_pkg = $(shell ls |grep @@@pear_name@@@)
-package = php-date-holidays-japan
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	touch configure-stamp
-
-build: build-stamp
-
-build-stamp: configure-stamp
-	dh_testdir
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	if [ -f $(pear_pkg)/package.xml ]; then \
-	     rm $(pear_pkg)/package.xml; \
-	fi
-	dh_clean build-stamp configure-stamp
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
-	# Add here commands to install the package into debian/package.
-	cp package.xml $(pear_pkg)/package.xml;
-	$(PEAR) install -n -f -R debian/$(package) $(pear_pkg)/package.xml;
-	rm -f debian/$(package)/usr/share/php/.filemap;
-	rm -f debian/$(package)/usr/share/php/.lock;
-	rm -rf debian/$(package)/usr/share/php/.channels;
-	rm -rf debian/$(package)/usr/share/php/.depdblock;
-	rm -rf debian/$(package)/usr/share/php/.depdb;
-	rm -rf debian/$(package)/usr/share/php/.registry/.channel.pecl.php.net;
-	rm -rf debian/$(package)/usr/share/php/.registry/.channel.__uri;
-
-	 # remove duplicated files, these files are in /usr/share/doc/package
-	rm -rf debian/$(package)/usr/share/php/tests;
-	rm -rf debian/$(package)/usr/share/php/docs;
-
-	 # remove created tmp dir
-	rm -rf debian/$(package)/tmp
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installexamples
-	dh_installchangelogs
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
-
diff --git a/package.xml b/package.xml
new file mode 100644
index 0000000..e940700
--- /dev/null
+++ b/package.xml
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package packagerversion="1.7.2" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
+ <name>Date_Holidays_Japan</name>
+ <channel>pear.php.net</channel>
+ <summary>Driver based class to calculate holidays in Japan.</summary>
+ <description>Date_Holidays helps you calculate the dates and titles of holidays and other special celebrations. This is the driver for calculating holidays in Japan.</description>
+ <lead>
+  <name>Ken Guest</name>
+  <user>kguest</user>
+  <email>ken at linux.ie</email>
+  <active>yes</active>
+ </lead>
+ <date>2009-03-01</date>
+ <time>23:12:12</time>
+ <version>
+  <release>0.1.1</release>
+  <api>0.1.0</api>
+ </version>
+ <stability>
+  <release>alpha</release>
+  <api>alpha</api>
+ </stability>
+ <license uri="http://www.php.net/license">PHP License</license>
+ <notes>* Fixed bug #14573: return incorrect titles with &apos;ja_JP&apos; lang file [hshimooka]</notes>
+ <contents>
+  <dir name="/">
+   <file baseinstalldir="Date" md5sum="8fbd6373d87cd66afb9c82468b0e0ade" name="Holidays/Driver/Japan.php" role="php" />
+   <file baseinstalldir="Date" md5sum="438e63bb9d59b455bb6b93478a473628" name="lang/Japan/ja_JP.ser" role="data" />
+   <file baseinstalldir="Date" md5sum="1dfa4e1435a931f2d27888e1a5a0edcc" name="lang/Japan/ja_JP.xml" role="data" />
+   <file baseinstalldir="Date" md5sum="e161bf0b8d8608001477533a2e9a9ebd" name="tests/Date_Holidays_Driver_Japan_TestSuite.php" role="test">
+    <tasks:replace from="@DATA-DIR@" to="data_dir" type="pear-config" />
+   </file>
+  </dir>
+ </contents>
+ <dependencies>
+  <required>
+   <php>
+    <min>4.0.0</min>
+   </php>
+   <pearinstaller>
+    <min>1.4.0b1</min>
+   </pearinstaller>
+   <package>
+    <name>Date_Holidays</name>
+    <channel>pear.php.net</channel>
+    <min>0.20.1</min>
+   </package>
+  </required>
+ </dependencies>
+ <phprelease />
+ <changelog>
+  <release>
+   <version>
+    <release>0.1.0</release>
+    <api>0.1.0</api>
+   </version>
+   <stability>
+    <release>alpha</release>
+    <api>alpha</api>
+   </stability>
+   <date>2008-08-23</date>
+   <license uri="http://www.php.net/license">PHP License</license>
+   <notes>initial pear release</notes>
+  </release>
+  <release>
+   <version>
+    <release>0.1.1</release>
+    <api>0.1.1</api>
+   </version>
+   <stability>
+    <release>alpha</release>
+    <api>alpha</api>
+   </stability>
+   <date>2008-12-01</date>
+   <license uri="http://www.php.net/license">PHP License</license>
+   <notes>* Fixed bug #14573: return incorrect titles with &apos;ja_JP&apos; lang file [hshimooka]</notes>
+  </release>
+ </changelog>
+</package>


commit d7f0ef321919955ed4006e0678a4af8348c5907c
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date:   Fri Jan 14 16:26:44 2011 +0100

    Initial debian packaging

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..50c64fb
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+php-date-holidays-japan (0.1.1-1) stable; urgency=low
+
+  * Driver based class to calculate holidays in Japan.
+
+ -- Jeroen van Meeuwen <vanmeeuwen at kolabsys.com>  Fri, 14 Jan 2011 11:11:11 +1111
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..9453176
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,12 @@
+Source: php-date-holidays-japan
+Section: web
+Priority: optional
+Maintainer: Jeroen van Meeuwen <vanmeeuwen at kolabsys.com>
+Build-Depends: debhelper (>= 5)
+Build-Depends-Indep: php-pear
+Standards-Version: 3.9.1
+
+Package: php-date-holidays-japan
+Architecture: all
+Depends: php-pear (>= 5.2.0-8)
+Description: Driver based class to calculate holidays in Japan.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..2838043
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,7 @@
+[DEFAULT]
+debian-branch = master
+
+[git-buildpackage]
+export-dir = ../builds/php-date-holidays-japan
+ignore-new = True
+upstream-tag = upstream/0.1.1
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2050f89
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,70 @@
+#!/usr/bin/make -f
+
+PEAR ?= /usr/bin/pear
+pear_pkg = $(shell ls |grep @@@pear_name@@@)
+package = php-date-holidays-japan
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	touch configure-stamp
+
+build: build-stamp
+
+build-stamp: configure-stamp
+	dh_testdir
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	if [ -f $(pear_pkg)/package.xml ]; then \
+	     rm $(pear_pkg)/package.xml; \
+	fi
+	dh_clean build-stamp configure-stamp
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/package.
+	cp package.xml $(pear_pkg)/package.xml;
+	$(PEAR) install -n -f -R debian/$(package) $(pear_pkg)/package.xml;
+	rm -f debian/$(package)/usr/share/php/.filemap;
+	rm -f debian/$(package)/usr/share/php/.lock;
+	rm -rf debian/$(package)/usr/share/php/.channels;
+	rm -rf debian/$(package)/usr/share/php/.depdblock;
+	rm -rf debian/$(package)/usr/share/php/.depdb;
+	rm -rf debian/$(package)/usr/share/php/.registry/.channel.pecl.php.net;
+	rm -rf debian/$(package)/usr/share/php/.registry/.channel.__uri;
+
+	 # remove duplicated files, these files are in /usr/share/doc/package
+	rm -rf debian/$(package)/usr/share/php/tests;
+	rm -rf debian/$(package)/usr/share/php/docs;
+
+	 # remove created tmp dir
+	rm -rf debian/$(package)/tmp
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installexamples
+	dh_installchangelogs
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
+




More information about the packaging-commits mailing list