KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > ibm > icu > util > HebrewHoliday


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

7
8 package com.ibm.icu.util;
9
10 /**
11  * @draft ICU 2.8 (retainAll)
12  * @provisional This API might change or be removed in a future release.
13  */

14 public class HebrewHoliday extends Holiday
15 {
16     private static final HebrewCalendar gCalendar = new HebrewCalendar();
17
18     /**
19      * Construct a holiday defined in reference to the Hebrew calendar.
20      *
21      * @param name The name of the holiday
22      * @draft ICU 2.8
23      * @provisional This API might change or be removed in a future release.
24      */

25     public HebrewHoliday(int month, int date, String JavaDoc name)
26     {
27         this(month, date, 1, name);
28     }
29
30     /**
31      * @draft ICU 2.8
32      * @provisional This API might change or be removed in a future release.
33      */

34     public HebrewHoliday(int month, int date, int length, String JavaDoc name)
35     {
36         super(name, new SimpleDateRule(month, date, gCalendar));
37     }
38
39     /**
40      * @draft ICU 2.8
41      * @provisional This API might change or be removed in a future release.
42      */

43     public static HebrewHoliday ROSH_HASHANAH = new HebrewHoliday(HebrewCalendar.TISHRI, 1, 2, "Rosh Hashanah");
44
45     /**
46      * @draft ICU 2.8
47      * @provisional This API might change or be removed in a future release.
48      */

49     public static HebrewHoliday GEDALIAH = new HebrewHoliday(HebrewCalendar.TISHRI, 3, "Fast of Gedaliah");
50
51     /**
52      * @draft ICU 2.8
53      * @provisional This API might change or be removed in a future release.
54      */

55     public static HebrewHoliday YOM_KIPPUR = new HebrewHoliday(HebrewCalendar.TISHRI, 10, "Yom Kippur");
56
57     /**
58      * @draft ICU 2.8
59      * @provisional This API might change or be removed in a future release.
60      */

61     public static HebrewHoliday SUKKOT = new HebrewHoliday(HebrewCalendar.TISHRI, 15, 6, "Sukkot");
62
63     /**
64      * @draft ICU 2.8
65      * @provisional This API might change or be removed in a future release.
66      */

67     public static HebrewHoliday HOSHANAH_RABBAH = new HebrewHoliday(HebrewCalendar.TISHRI, 21, "Hoshanah Rabbah");
68
69     /**
70      * @draft ICU 2.8
71      * @provisional This API might change or be removed in a future release.
72      */

73     public static HebrewHoliday SHEMINI_ATZERET = new HebrewHoliday(HebrewCalendar.TISHRI, 22, "Shemini Atzeret");
74
75     /**
76      * @draft ICU 2.8
77      * @provisional This API might change or be removed in a future release.
78      */

79     public static HebrewHoliday SIMCHAT_TORAH = new HebrewHoliday(HebrewCalendar.TISHRI, 23, "Simchat Torah");
80
81     /**
82      * @draft ICU 2.8
83      * @provisional This API might change or be removed in a future release.
84      */

85     public static HebrewHoliday HANUKKAH = new HebrewHoliday(HebrewCalendar.KISLEV, 25, "Hanukkah");
86
87     /**
88      * @draft ICU 2.8
89      * @provisional This API might change or be removed in a future release.
90      */

91     public static HebrewHoliday TEVET_10 = new HebrewHoliday(HebrewCalendar.TEVET, 10, "Fast of Tevet 10");
92
93     /**
94      * @draft ICU 2.8
95      * @provisional This API might change or be removed in a future release.
96      */

97     public static HebrewHoliday TU_BSHEVAT = new HebrewHoliday(HebrewCalendar.SHEVAT, 15, "Tu B'Shevat");
98
99     /**
100      * @draft ICU 2.8
101      * @provisional This API might change or be removed in a future release.
102      */

103     public static HebrewHoliday ESTHER = new HebrewHoliday(HebrewCalendar.ADAR, 13, "Fast of Esther");
104
105     /**
106      * @draft ICU 2.8
107      * @provisional This API might change or be removed in a future release.
108      */

109     public static HebrewHoliday PURIM = new HebrewHoliday(HebrewCalendar.ADAR, 14, "Purim");
110
111     /**
112      * @draft ICU 2.8
113      * @provisional This API might change or be removed in a future release.
114      */

115     public static HebrewHoliday SHUSHAN_PURIM = new HebrewHoliday(HebrewCalendar.ADAR, 15, "Shushan Purim");
116
117     /**
118      * @draft ICU 2.8
119      * @provisional This API might change or be removed in a future release.
120      */

121     public static HebrewHoliday PASSOVER = new HebrewHoliday(HebrewCalendar.NISAN, 15, 8, "Passover");
122
123     /**
124      * @draft ICU 2.8
125      * @provisional This API might change or be removed in a future release.
126      */

127     public static HebrewHoliday YOM_HASHOAH = new HebrewHoliday(HebrewCalendar.NISAN, 27, "Yom Hashoah");
128
129     /**
130      * @draft ICU 2.8
131      * @provisional This API might change or be removed in a future release.
132      */

133     public static HebrewHoliday YOM_HAZIKARON = new HebrewHoliday(HebrewCalendar.IYAR, 4, "Yom Hazikaron");
134
135     /**
136      * @draft ICU 2.8
137      * @provisional This API might change or be removed in a future release.
138      */

139     public static HebrewHoliday YOM_HAATZMAUT = new HebrewHoliday(HebrewCalendar.IYAR, 5, "Yom Ha'Atzmaut");
140
141     /**
142      * @draft ICU 2.8
143      * @provisional This API might change or be removed in a future release.
144      */

145     public static HebrewHoliday PESACH_SHEINI = new HebrewHoliday(HebrewCalendar.IYAR, 14, "Pesach Sheini");
146
147     /**
148      * @draft ICU 2.8
149      * @provisional This API might change or be removed in a future release.
150      */

151     public static HebrewHoliday LAG_BOMER = new HebrewHoliday(HebrewCalendar.IYAR, 18, "Lab B'Omer");
152
153     /**
154      * @draft ICU 2.8
155      * @provisional This API might change or be removed in a future release.
156      */

157     public static HebrewHoliday YOM_YERUSHALAYIM = new HebrewHoliday(HebrewCalendar.IYAR, 28, "Yom Yerushalayim");
158
159     /**
160      * @draft ICU 2.8
161      * @provisional This API might change or be removed in a future release.
162      */

163     public static HebrewHoliday SHAVUOT = new HebrewHoliday(HebrewCalendar.SIVAN, 6, 2, "Shavuot");
164
165     /**
166      * @draft ICU 2.8
167      * @provisional This API might change or be removed in a future release.
168      */

169     public static HebrewHoliday TAMMUZ_17 = new HebrewHoliday(HebrewCalendar.TAMUZ, 17, "Fast of Tammuz 17");
170
171     /**
172      * @draft ICU 2.8
173      * @provisional This API might change or be removed in a future release.
174      */

175     public static HebrewHoliday TISHA_BAV = new HebrewHoliday(HebrewCalendar.AV, 9, "Fast of Tisha B'Av");
176
177     /**
178      * @draft ICU 2.8
179      * @provisional This API might change or be removed in a future release.
180      */

181     public static HebrewHoliday SELIHOT = new HebrewHoliday(HebrewCalendar.ELUL, 21, "Selihot");
182 }
183
Popular Tags