KickJava   Java API By Example, From Geeks To Geeks.

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


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_GB extends ListResourceBundle JavaDoc
15 {
16     static private final Holiday[] fHolidays = {
17         SimpleHoliday.NEW_YEARS_DAY,
18         SimpleHoliday.MAY_DAY,
19         new SimpleHoliday(Calendar.MAY, 31, -Calendar.MONDAY, "Spring Holiday"),
20         new SimpleHoliday(Calendar.AUGUST, 31, -Calendar.MONDAY, "Summer Bank Holiday"),
21         SimpleHoliday.CHRISTMAS,
22         SimpleHoliday.BOXING_DAY,
23         new SimpleHoliday(Calendar.DECEMBER, 31, -Calendar.MONDAY, "Christmas Holiday"),
24
25         // Easter and related holidays
26
EasterHoliday.GOOD_FRIDAY,
27         EasterHoliday.EASTER_SUNDAY,
28         EasterHoliday.EASTER_MONDAY,
29     };
30     static private final Object JavaDoc[][] fContents = {
31         { "holidays", fHolidays },
32
33         { "Labor Day", "Labour Day" },
34     };
35     public synchronized Object JavaDoc[][] getContents() { return fContents; }
36 }
37
Popular Tags