de.jaret.util.date.holidayenumerator
Class HolidayEnumerator_en_US

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

public class HolidayEnumerator_en_US
extends HolidayEnumeratorBase

Implementation of a HolidayEnumerator for the US. Information obtained from wikipedia (http://en.wikipedia.org/wiki/List_of_holidays_by_country#United_States) No warranty! No regions supported! Only federal holidays!

Corrections to peter.kliem@jaret.de

Version:
$Id: HolidayEnumerator_en_US.java 297 2007-03-12 21:38:00Z 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_en_US()
           
 
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_en_US

public HolidayEnumerator_en_US()
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.