KPWHoliday.java
package org.drip.analytics.holset;
/*
* -*- mode: java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*/
/*
* GENERATED on Fri Jan 11 19:54:07 EST 2013 ---- DO NOT DELETE
*/
/*!
* Copyright (C) 2016 Lakshmi Krishnamurthy
* Copyright (C) 2015 Lakshmi Krishnamurthy
* Copyright (C) 2014 Lakshmi Krishnamurthy
* Copyright (C) 2013 Lakshmi Krishnamurthy
* Copyright (C) 2012 Lakshmi Krishnamurthy
* Copyright (C) 2011 Lakshmi Krishnamurthy
*
* This file is part of CreditAnalytics, a free-software/open-source library for
* fixed income analysts and developers - http://www.credit-trader.org
*
* CreditAnalytics is a free, full featured, fixed income credit analytics library, developed with a special focus
* towards the needs of the bonds and credit products community.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
public class KPWHoliday implements org.drip.analytics.holset.LocationHoliday {
public KPWHoliday()
{
}
public java.lang.String getHolidayLoc()
{
return "KPW";
}
public org.drip.analytics.eventday.Locale getHolidaySet()
{
org.drip.analytics.eventday.Locale lh = new
org.drip.analytics.eventday.Locale();
lh.addStaticHoliday ("01-JAN-1997", "New Years day");
lh.addStaticHoliday ("02-JAN-1997", "New Years Holiday");
lh.addStaticHoliday ("07-FEB-1997", "Lunar New Years Holiday");
lh.addStaticHoliday ("05-MAY-1997", "Childrens Day");
lh.addStaticHoliday ("14-MAY-1997", "Lord Buddhas Birthday");
lh.addStaticHoliday ("06-JUN-1997", "Memorial day");
lh.addStaticHoliday ("17-JUL-1997", "Constitution Day");
lh.addStaticHoliday ("15-AUG-1997", "Liberation Day");
lh.addStaticHoliday ("15-SEP-1997", "Korea Thanksgiving Holiday");
lh.addStaticHoliday ("16-SEP-1997", "Korea Thanksgiving Day");
lh.addStaticHoliday ("17-SEP-1997", "Korea Thanksgiving Holiday");
lh.addStaticHoliday ("03-OCT-1997", "National Foundation Day");
lh.addStaticHoliday ("25-DEC-1997", "Christmas Day");
lh.addStandardWeekend();
return lh;
}
}