PESHoliday.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 PESHoliday implements org.drip.analytics.holset.LocationHoliday {
  36.     public PESHoliday()
  37.     {
  38.     }

  39.     public java.lang.String getHolidayLoc()
  40.     {
  41.         return "PES";
  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 ("09-FEB-1994", "Lunar New Year");

  48.         lh.addStaticHoliday ("10-FEB-1994", "Lunar New Year");

  49.         lh.addStaticHoliday ("11-FEB-1994", "Lunar New Year");

  50.         lh.addStaticHoliday ("01-MAR-1994", "Independence Movement Day");

  51.         lh.addStaticHoliday ("05-APR-1994", "Arbor Day");

  52.         lh.addStaticHoliday ("05-MAY-1994", "Childrens Day");

  53.         lh.addStaticHoliday ("18-MAY-1994", "Buddhas Birthday");

  54.         lh.addStaticHoliday ("06-JUN-1994", "Memorial Day");

  55.         lh.addStaticHoliday ("15-AUG-1994", "Liberation Day");

  56.         lh.addStaticHoliday ("19-SEP-1994", "Chusok");

  57.         lh.addStaticHoliday ("20-SEP-1994", "Chusok");

  58.         lh.addStaticHoliday ("21-SEP-1994", "Chusok");

  59.         lh.addStaticHoliday ("03-OCT-1994", "National Foundation Day");

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

  61.         lh.addStaticHoliday ("02-JAN-1995", "");

  62.         lh.addStaticHoliday ("30-JAN-1995", "");

  63.         lh.addStaticHoliday ("01-FEB-1995", "");

  64.         lh.addStaticHoliday ("01-MAR-1995", "");

  65.         lh.addStaticHoliday ("05-APR-1995", "");

  66.         lh.addStaticHoliday ("05-MAY-1995", "");

  67.         lh.addStaticHoliday ("07-MAY-1995", "");

  68.         lh.addStaticHoliday ("06-JUN-1995", "");

  69.         lh.addStaticHoliday ("17-JUL-1995", "");

  70.         lh.addStaticHoliday ("15-AUG-1995", "");

  71.         lh.addStaticHoliday ("08-SEP-1995", "");

  72.         lh.addStaticHoliday ("09-SEP-1995", "");

  73.         lh.addStaticHoliday ("10-SEP-1995", "");

  74.         lh.addStaticHoliday ("03-OCT-1995", "");

  75.         lh.addStaticHoliday ("25-DEC-1995", "");

  76.         lh.addStandardWeekend();

  77.         return lh;
  78.     }
  79. }