2 *******************************************************************************
3 * Copyright (C) 1996-2010, International Business Machines Corporation and *
4 * others. All Rights Reserved. *
5 *******************************************************************************
8 package com.ibm.icu.util;
11 * <b>Note:</b> The Holiday framework is a technology preview.
12 * Despite its age, is still draft API, and clients should treat it as such.
14 * @draft ICU 2.8 (retainAll)
15 * @provisional This API might change or be removed in a future release.
17 public class HebrewHoliday extends Holiday
19 private static final HebrewCalendar gCalendar = new HebrewCalendar();
22 * Construct a holiday defined in reference to the Hebrew calendar.
24 * @param name The name of the holiday
26 * @provisional This API might change or be removed in a future release.
28 public HebrewHoliday(int month, int date, String name)
30 this(month, date, 1, name);
35 * @provisional This API might change or be removed in a future release.
37 public HebrewHoliday(int month, int date, int length, String name)
39 super(name, new SimpleDateRule(month, date, gCalendar));
44 * @provisional This API might change or be removed in a future release.
46 public static HebrewHoliday ROSH_HASHANAH = new HebrewHoliday(HebrewCalendar.TISHRI, 1, 2, "Rosh Hashanah");
50 * @provisional This API might change or be removed in a future release.
52 public static HebrewHoliday GEDALIAH = new HebrewHoliday(HebrewCalendar.TISHRI, 3, "Fast of Gedaliah");
56 * @provisional This API might change or be removed in a future release.
58 public static HebrewHoliday YOM_KIPPUR = new HebrewHoliday(HebrewCalendar.TISHRI, 10, "Yom Kippur");
62 * @provisional This API might change or be removed in a future release.
64 public static HebrewHoliday SUKKOT = new HebrewHoliday(HebrewCalendar.TISHRI, 15, 6, "Sukkot");
68 * @provisional This API might change or be removed in a future release.
70 public static HebrewHoliday HOSHANAH_RABBAH = new HebrewHoliday(HebrewCalendar.TISHRI, 21, "Hoshanah Rabbah");
74 * @provisional This API might change or be removed in a future release.
76 public static HebrewHoliday SHEMINI_ATZERET = new HebrewHoliday(HebrewCalendar.TISHRI, 22, "Shemini Atzeret");
80 * @provisional This API might change or be removed in a future release.
82 public static HebrewHoliday SIMCHAT_TORAH = new HebrewHoliday(HebrewCalendar.TISHRI, 23, "Simchat Torah");
86 * @provisional This API might change or be removed in a future release.
88 public static HebrewHoliday HANUKKAH = new HebrewHoliday(HebrewCalendar.KISLEV, 25, "Hanukkah");
92 * @provisional This API might change or be removed in a future release.
94 public static HebrewHoliday TEVET_10 = new HebrewHoliday(HebrewCalendar.TEVET, 10, "Fast of Tevet 10");
98 * @provisional This API might change or be removed in a future release.
100 public static HebrewHoliday TU_BSHEVAT = new HebrewHoliday(HebrewCalendar.SHEVAT, 15, "Tu B'Shevat");
104 * @provisional This API might change or be removed in a future release.
106 public static HebrewHoliday ESTHER = new HebrewHoliday(HebrewCalendar.ADAR, 13, "Fast of Esther");
110 * @provisional This API might change or be removed in a future release.
112 public static HebrewHoliday PURIM = new HebrewHoliday(HebrewCalendar.ADAR, 14, "Purim");
116 * @provisional This API might change or be removed in a future release.
118 public static HebrewHoliday SHUSHAN_PURIM = new HebrewHoliday(HebrewCalendar.ADAR, 15, "Shushan Purim");
122 * @provisional This API might change or be removed in a future release.
124 public static HebrewHoliday PASSOVER = new HebrewHoliday(HebrewCalendar.NISAN, 15, 8, "Passover");
128 * @provisional This API might change or be removed in a future release.
130 public static HebrewHoliday YOM_HASHOAH = new HebrewHoliday(HebrewCalendar.NISAN, 27, "Yom Hashoah");
134 * @provisional This API might change or be removed in a future release.
136 public static HebrewHoliday YOM_HAZIKARON = new HebrewHoliday(HebrewCalendar.IYAR, 4, "Yom Hazikaron");
140 * @provisional This API might change or be removed in a future release.
142 public static HebrewHoliday YOM_HAATZMAUT = new HebrewHoliday(HebrewCalendar.IYAR, 5, "Yom Ha'Atzmaut");
146 * @provisional This API might change or be removed in a future release.
148 public static HebrewHoliday PESACH_SHEINI = new HebrewHoliday(HebrewCalendar.IYAR, 14, "Pesach Sheini");
152 * @provisional This API might change or be removed in a future release.
154 public static HebrewHoliday LAG_BOMER = new HebrewHoliday(HebrewCalendar.IYAR, 18, "Lab B'Omer");
158 * @provisional This API might change or be removed in a future release.
160 public static HebrewHoliday YOM_YERUSHALAYIM = new HebrewHoliday(HebrewCalendar.IYAR, 28, "Yom Yerushalayim");
164 * @provisional This API might change or be removed in a future release.
166 public static HebrewHoliday SHAVUOT = new HebrewHoliday(HebrewCalendar.SIVAN, 6, 2, "Shavuot");
170 * @provisional This API might change or be removed in a future release.
172 public static HebrewHoliday TAMMUZ_17 = new HebrewHoliday(HebrewCalendar.TAMUZ, 17, "Fast of Tammuz 17");
176 * @provisional This API might change or be removed in a future release.
178 public static HebrewHoliday TISHA_BAV = new HebrewHoliday(HebrewCalendar.AV, 9, "Fast of Tisha B'Av");
182 * @provisional This API might change or be removed in a future release.
184 public static HebrewHoliday SELIHOT = new HebrewHoliday(HebrewCalendar.ELUL, 21, "Selihot");