1 /* GENERATED SOURCE. DO NOT MODIFY. */ 2 // © 2016 and later: Unicode, Inc. and others. 3 // License & terms of use: http://www.unicode.org/copyright.html#License 4 /* 5 ******************************************************************************* 6 * Copyright (C) 1996-2010, International Business Machines Corporation and * 7 * others. All Rights Reserved. * 8 ******************************************************************************* 9 */ 10 11 package android.icu.util; 12 13 /** 14 * <b>Note:</b> The Holiday framework is a technology preview. 15 * Despite its age, is still draft API, and clients should treat it as such. 16 * 17 * @hide Only a subset of ICU is exposed in Android 18 * @hide draft / provisional / internal are hidden on Android 19 */ 20 public class HebrewHoliday extends Holiday 21 { 22 private static final HebrewCalendar gCalendar = new HebrewCalendar(); 23 24 /** 25 * Construct a holiday defined in reference to the Hebrew calendar. 26 * 27 * @param name The name of the holiday 28 * @hide draft / provisional / internal are hidden on Android 29 */ HebrewHoliday(int month, int date, String name)30 public HebrewHoliday(int month, int date, String name) 31 { 32 this(month, date, 1, name); 33 } 34 35 /** 36 * @hide draft / provisional / internal are hidden on Android 37 */ HebrewHoliday(int month, int date, int length, String name)38 public HebrewHoliday(int month, int date, int length, String name) 39 { 40 super(name, new SimpleDateRule(month, date, gCalendar)); 41 } 42 43 /** 44 * @hide draft / provisional / internal are hidden on Android 45 */ 46 public static HebrewHoliday ROSH_HASHANAH = new HebrewHoliday(HebrewCalendar.TISHRI, 1, 2, "Rosh Hashanah"); 47 48 /** 49 * @hide draft / provisional / internal are hidden on Android 50 */ 51 public static HebrewHoliday GEDALIAH = new HebrewHoliday(HebrewCalendar.TISHRI, 3, "Fast of Gedaliah"); 52 53 /** 54 * @hide draft / provisional / internal are hidden on Android 55 */ 56 public static HebrewHoliday YOM_KIPPUR = new HebrewHoliday(HebrewCalendar.TISHRI, 10, "Yom Kippur"); 57 58 /** 59 * @hide draft / provisional / internal are hidden on Android 60 */ 61 public static HebrewHoliday SUKKOT = new HebrewHoliday(HebrewCalendar.TISHRI, 15, 6, "Sukkot"); 62 63 /** 64 * @hide draft / provisional / internal are hidden on Android 65 */ 66 public static HebrewHoliday HOSHANAH_RABBAH = new HebrewHoliday(HebrewCalendar.TISHRI, 21, "Hoshanah Rabbah"); 67 68 /** 69 * @hide draft / provisional / internal are hidden on Android 70 */ 71 public static HebrewHoliday SHEMINI_ATZERET = new HebrewHoliday(HebrewCalendar.TISHRI, 22, "Shemini Atzeret"); 72 73 /** 74 * @hide draft / provisional / internal are hidden on Android 75 */ 76 public static HebrewHoliday SIMCHAT_TORAH = new HebrewHoliday(HebrewCalendar.TISHRI, 23, "Simchat Torah"); 77 78 /** 79 * @hide draft / provisional / internal are hidden on Android 80 */ 81 public static HebrewHoliday HANUKKAH = new HebrewHoliday(HebrewCalendar.KISLEV, 25, "Hanukkah"); 82 83 /** 84 * @hide draft / provisional / internal are hidden on Android 85 */ 86 public static HebrewHoliday TEVET_10 = new HebrewHoliday(HebrewCalendar.TEVET, 10, "Fast of Tevet 10"); 87 88 /** 89 * @hide draft / provisional / internal are hidden on Android 90 */ 91 public static HebrewHoliday TU_BSHEVAT = new HebrewHoliday(HebrewCalendar.SHEVAT, 15, "Tu B'Shevat"); 92 93 /** 94 * @hide draft / provisional / internal are hidden on Android 95 */ 96 public static HebrewHoliday ESTHER = new HebrewHoliday(HebrewCalendar.ADAR, 13, "Fast of Esther"); 97 98 /** 99 * @hide draft / provisional / internal are hidden on Android 100 */ 101 public static HebrewHoliday PURIM = new HebrewHoliday(HebrewCalendar.ADAR, 14, "Purim"); 102 103 /** 104 * @hide draft / provisional / internal are hidden on Android 105 */ 106 public static HebrewHoliday SHUSHAN_PURIM = new HebrewHoliday(HebrewCalendar.ADAR, 15, "Shushan Purim"); 107 108 /** 109 * @hide draft / provisional / internal are hidden on Android 110 */ 111 public static HebrewHoliday PASSOVER = new HebrewHoliday(HebrewCalendar.NISAN, 15, 8, "Passover"); 112 113 /** 114 * @hide draft / provisional / internal are hidden on Android 115 */ 116 public static HebrewHoliday YOM_HASHOAH = new HebrewHoliday(HebrewCalendar.NISAN, 27, "Yom Hashoah"); 117 118 /** 119 * @hide draft / provisional / internal are hidden on Android 120 */ 121 public static HebrewHoliday YOM_HAZIKARON = new HebrewHoliday(HebrewCalendar.IYAR, 4, "Yom Hazikaron"); 122 123 /** 124 * @hide draft / provisional / internal are hidden on Android 125 */ 126 public static HebrewHoliday YOM_HAATZMAUT = new HebrewHoliday(HebrewCalendar.IYAR, 5, "Yom Ha'Atzmaut"); 127 128 /** 129 * @hide draft / provisional / internal are hidden on Android 130 */ 131 public static HebrewHoliday PESACH_SHEINI = new HebrewHoliday(HebrewCalendar.IYAR, 14, "Pesach Sheini"); 132 133 /** 134 * @hide draft / provisional / internal are hidden on Android 135 */ 136 public static HebrewHoliday LAG_BOMER = new HebrewHoliday(HebrewCalendar.IYAR, 18, "Lab B'Omer"); 137 138 /** 139 * @hide draft / provisional / internal are hidden on Android 140 */ 141 public static HebrewHoliday YOM_YERUSHALAYIM = new HebrewHoliday(HebrewCalendar.IYAR, 28, "Yom Yerushalayim"); 142 143 /** 144 * @hide draft / provisional / internal are hidden on Android 145 */ 146 public static HebrewHoliday SHAVUOT = new HebrewHoliday(HebrewCalendar.SIVAN, 6, 2, "Shavuot"); 147 148 /** 149 * @hide draft / provisional / internal are hidden on Android 150 */ 151 public static HebrewHoliday TAMMUZ_17 = new HebrewHoliday(HebrewCalendar.TAMUZ, 17, "Fast of Tammuz 17"); 152 153 /** 154 * @hide draft / provisional / internal are hidden on Android 155 */ 156 public static HebrewHoliday TISHA_BAV = new HebrewHoliday(HebrewCalendar.AV, 9, "Fast of Tisha B'Av"); 157 158 /** 159 * @hide draft / provisional / internal are hidden on Android 160 */ 161 public static HebrewHoliday SELIHOT = new HebrewHoliday(HebrewCalendar.ELUL, 21, "Selihot"); 162 } 163