ZALHoliday.java

  1. package org.drip.analytics.holset;

  2. /*
  3.  * -*- mode: java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  4.  */

  5. /*
  6.  *    GENERATED on Fri Jan 11 19:54:07 EST 2013 ---- DO NOT DELETE
  7.  */

  8. /*!
  9.  * Copyright (C) 2016 Lakshmi Krishnamurthy
  10.  * Copyright (C) 2015 Lakshmi Krishnamurthy
  11.  * Copyright (C) 2014 Lakshmi Krishnamurthy
  12.  * Copyright (C) 2013 Lakshmi Krishnamurthy
  13.  * Copyright (C) 2012 Lakshmi Krishnamurthy
  14.  * Copyright (C) 2011 Lakshmi Krishnamurthy
  15.  *
  16.  * This file is part of CreditAnalytics, a free-software/open-source library for
  17.  *      fixed income analysts and developers - http://www.credit-trader.org
  18.  *
  19.  * CreditAnalytics is a free, full featured, fixed income credit analytics library, developed with a special focus
  20.  *      towards the needs of the bonds and credit products community.
  21.  *
  22.  *  Licensed under the Apache License, Version 2.0 (the "License");
  23.  *      you may not use this file except in compliance with the License.
  24.  *
  25.  *  You may obtain a copy of the License at
  26.  *      http://www.apache.org/licenses/LICENSE-2.0
  27.  *
  28.  *  Unless required by applicable law or agreed to in writing, software
  29.  *      distributed under the License is distributed on an "AS IS" BASIS,
  30.  *      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  31.  *  
  32.  *  See the License for the specific language governing permissions and
  33.  *      limitations under the License.
  34.  */

  35. public class ZALHoliday implements org.drip.analytics.holset.LocationHoliday {
  36.     public ZALHoliday()
  37.     {
  38.     }

  39.     public java.lang.String getHolidayLoc()
  40.     {
  41.         return "ZAL";
  42.     }

  43.     public org.drip.analytics.eventday.Locale getHolidaySet()
  44.     {
  45.         org.drip.analytics.eventday.Locale lh = new
  46.             org.drip.analytics.eventday.Locale();

  47.         lh.addStaticHoliday ("01-APR-1994", "Good Friday");

  48.         lh.addStaticHoliday ("06-APR-1994", "Founders Day");

  49.         lh.addStaticHoliday ("12-MAY-1994", "Ascension day");

  50.         lh.addStaticHoliday ("31-MAY-1994", "Republic Day");

  51.         lh.addStaticHoliday ("10-OCT-1994", "Kruger Day");

  52.         lh.addStaticHoliday ("16-DEC-1994", "Day of the Vow");

  53.         lh.addStaticHoliday ("26-DEC-1994", "Day of Goodwill");

  54.         lh.addStaticHoliday ("01-JAN-1995", "");

  55.         lh.addStaticHoliday ("04-APR-1995", "Easter Monday");

  56.         lh.addStaticHoliday ("06-APR-1995", "Founders Day");

  57.         lh.addStaticHoliday ("14-APR-1995", "Good Friday");

  58.         lh.addStaticHoliday ("17-APR-1995", "Easter Monday");

  59.         lh.addStaticHoliday ("27-APR-1995", "");

  60.         lh.addStaticHoliday ("01-MAY-1995", "Workers day");

  61.         lh.addStaticHoliday ("25-MAY-1995", "Ascension day");

  62.         lh.addStaticHoliday ("31-MAY-1995", "Republic Day");

  63.         lh.addStaticHoliday ("16-JUN-1995", "");

  64.         lh.addStaticHoliday ("09-AUG-1995", "");

  65.         lh.addStaticHoliday ("24-SEP-1995", "");

  66.         lh.addStaticHoliday ("10-OCT-1995", "Kruger Day");

  67.         lh.addStaticHoliday ("16-DEC-1995", "");

  68.         lh.addStaticHoliday ("25-DEC-1995", "Christmas Day");

  69.         lh.addStaticHoliday ("26-DEC-1995", "Day of Goodwill");

  70.         lh.addStaticHoliday ("01-JAN-1996", "");

  71.         lh.addStaticHoliday ("21-MAR-1996", "");

  72.         lh.addStaticHoliday ("05-APR-1996", "");

  73.         lh.addStaticHoliday ("08-APR-1996", "");

  74.         lh.addStaticHoliday ("27-APR-1996", "");

  75.         lh.addStaticHoliday ("01-MAY-1996", "");

  76.         lh.addStaticHoliday ("16-JUN-1996", "");

  77.         lh.addStaticHoliday ("17-JUN-1996", "");

  78.         lh.addStaticHoliday ("09-AUG-1996", "");

  79.         lh.addStaticHoliday ("24-SEP-1996", "");

  80.         lh.addStaticHoliday ("16-DEC-1996", "");

  81.         lh.addStaticHoliday ("25-DEC-1996", "");

  82.         lh.addStaticHoliday ("26-DEC-1996", "");

  83.         lh.addStandardWeekend();

  84.         return lh;
  85.     }
  86. }