de.jaret.util.date.holidayenumerator
Class HolidayEnumerator_pl_PL

java.lang.Object
  extended by de.jaret.util.date.holidayenumerator.HolidayEnumeratorBase
      extended by de.jaret.util.date.holidayenumerator.HolidayEnumerator_pl_PL
All Implemented Interfaces:
HolidayEnumerator

public class HolidayEnumerator_pl_PL
extends HolidayEnumeratorBase

HolidayEnumerator for Poland. Includes public holidays according to http://en.wikipedia.org/wiki/Holidays_in_Poland. The calculations are without any warranty!

Version:
$Id: HolidayEnumerator_pl_PL.java 293 2007-03-11 17:50:57Z olk $
Author:
Peter Kliem

Nested Class Summary
 
Nested classes/interfaces inherited from class de.jaret.util.date.holidayenumerator.HolidayEnumeratorBase
HolidayEnumeratorBase.EasyDate, HolidayEnumeratorBase.NamedDateImpl
 
Field Summary
 
Fields inherited from class de.jaret.util.date.holidayenumerator.HolidayEnumeratorBase
_locale, _regionId, _yearMap, CALENDAR
 
Constructor Summary
HolidayEnumerator_pl_PL(String regionId)
          Constructs the he for poland.
 
Method Summary
protected  void fillMap(int year)
          Calculate the holidays for a given year.
 
Methods inherited from class de.jaret.util.date.holidayenumerator.HolidayEnumeratorBase
addNamedDate, addNamedDate, addNamedDate, calcEaster, daysInMonth, equals, fridayOrMonday, getAvailableRegionIds, getDate, getDayName, getEasyDate, getLocale, getNamedDays, getNamedDays, getRegionId, getWeekday, hashCode, init, isHoliday, isSpecialDay, lastWeekdayInMonth, nThWeekdayInMonth, setLocale, setRegionId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HolidayEnumerator_pl_PL

public HolidayEnumerator_pl_PL(String regionId)
Constructs the he for poland.

Parameters:
regionId - region id (currently no region support)
Method Detail

fillMap

protected void fillMap(int year)
Calculate the holidays for a given year. This method has to be implemented by concrete implementations of HolidayEnumerators.

Specified by:
fillMap in class HolidayEnumeratorBase
Parameters:
year - year to calculate the holidays for


Copyright © 2013. All Rights Reserved.