KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > ibm > icu > impl > data > HolidayBundle_en_US


1 /*
2  *******************************************************************************
3  * Copyright (C) 1996-2005, International Business Machines Corporation and *
4  * others. All Rights Reserved. *
5  *******************************************************************************
6  */

7
8 package com.ibm.icu.impl.data;
9
10 import com.ibm.icu.util.*;
11 import java.util.Calendar JavaDoc;
12 import java.util.ListResourceBundle JavaDoc;
13
14 public class HolidayBundle_en_US extends ListResourceBundle JavaDoc
15 {
16     static private final Holiday[] fHolidays = {
17         SimpleHoliday.NEW_YEARS_DAY,
18         new SimpleHoliday(Calendar.JANUARY, 15, Calendar.MONDAY, "Martin Luther King Day", 1986),
19
20         new SimpleHoliday(Calendar.FEBRUARY, 15, Calendar.MONDAY, "Presidents' Day", 1976),
21         new SimpleHoliday(Calendar.FEBRUARY, 22, "Washington's Birthday", 1776, 1975),
22
23         EasterHoliday.GOOD_FRIDAY,
24         EasterHoliday.EASTER_SUNDAY,
25
26         new SimpleHoliday(Calendar.MAY, 8, Calendar.SUNDAY, "Mother's Day", 1914),
27
28         new SimpleHoliday(Calendar.MAY, 31, -Calendar.MONDAY, "Memorial Day", 1971),
29         new SimpleHoliday(Calendar.MAY, 30, "Memorial Day", 1868, 1970),
30
31         new SimpleHoliday(Calendar.JUNE, 15, Calendar.SUNDAY, "Father's Day", 1956),
32         new SimpleHoliday(Calendar.JULY, 4, "Independence Day", 1776),
33         new SimpleHoliday(Calendar.SEPTEMBER, 1, Calendar.MONDAY, "Labor Day", 1894),
34         new SimpleHoliday(Calendar.NOVEMBER, 2, Calendar.TUESDAY, "Election Day"),
35         new SimpleHoliday(Calendar.OCTOBER, 8, Calendar.MONDAY, "Columbus Day", 1971),
36         new SimpleHoliday(Calendar.OCTOBER , 31, "Halloween"),
37         new SimpleHoliday(Calendar.NOVEMBER, 11, "Veterans' Day", 1918),
38         new SimpleHoliday(Calendar.NOVEMBER, 22, Calendar.THURSDAY, "Thanksgiving", 1863),
39
40         SimpleHoliday.CHRISTMAS,
41     };
42     static private final Object JavaDoc[][] fContents = {
43         { "holidays", fHolidays },
44     };
45     public synchronized Object JavaDoc[][] getContents() { return fContents; }
46 }
47
Popular Tags