KickJava   Java API By Example, From Geeks To Geeks.

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


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_CA extends ListResourceBundle JavaDoc {
15     static private final Holiday[] fHolidays = {
16         SimpleHoliday.NEW_YEARS_DAY,
17         new SimpleHoliday(Calendar.MAY, 19, 0, "Victoria Day"),
18         new SimpleHoliday(Calendar.JULY, 1, 0, "Canada Day"),
19         new SimpleHoliday(Calendar.AUGUST, 1, Calendar.MONDAY, "Civic Holiday"),
20         new SimpleHoliday(Calendar.SEPTEMBER, 1, Calendar.MONDAY, "Labor Day"),
21         new SimpleHoliday(Calendar.OCTOBER, 8, Calendar.MONDAY, "Thanksgiving"),
22         new SimpleHoliday(Calendar.NOVEMBER, 11, 0, "Remembrance Day"),
23         SimpleHoliday.CHRISTMAS,
24         SimpleHoliday.BOXING_DAY,
25         SimpleHoliday.NEW_YEARS_EVE,
26
27         // Easter and related holidays
28
//hey {jf} - where are these from?
29
// EasterHoliday.GOOD_FRIDAY,
30
// EasterHoliday.EASTER_SUNDAY,
31
// EasterHoliday.EASTER_MONDAY,
32
};
33
34     static private final Object JavaDoc[][] fContents = {
35         { "holidays", fHolidays },
36
37         { "Labor Day", "Labour Day" },
38     };
39     public synchronized Object JavaDoc[][] getContents() { return fContents; }
40 }
41
Popular Tags