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

  39.     public java.lang.String getHolidayLoc()
  40.     {
  41.         return "RUR";
  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-JAN-1997", "New Years Day");

  48.         lh.addStaticHoliday ("02-JAN-1997", "New Years Holiday");

  49.         lh.addStaticHoliday ("07-JAN-1997", "Christmas Day (Orthodox)");

  50.         lh.addStaticHoliday ("08-MAR-1997", "International Womens Day");

  51.         lh.addStaticHoliday ("10-MAR-1997", "International Womans Day");

  52.         lh.addStaticHoliday ("01-APR-1997", "Foundation of the Commonwealth");

  53.         lh.addStaticHoliday ("01-MAY-1997", "International Labor Day");

  54.         lh.addStaticHoliday ("02-MAY-1997", "International Labor holiday");

  55.         lh.addStaticHoliday ("09-MAY-1997", "Victory Day");

  56.         lh.addStaticHoliday ("12-JUN-1997", "Declaration of independance");

  57.         lh.addStaticHoliday ("07-NOV-1997", "80th An of October Revolution");

  58.         lh.addStaticHoliday ("12-DEC-1997", "Constitution Day");

  59.         lh.addStandardWeekend();

  60.         return lh;
  61.     }
  62. }