Optional
alarmAlarms are used by iCalendar feeds
Optional
chanukahOptional
cholDuring Sukkot or Pesach
Readonly
dateHebrew date of this event
Readonly
descUntranslated title of this event. Note that these description
strings are always in English and will remain stable across releases.
To get the title of the event in another language, use the
render()
method.
Optional
emojiOptional emoji character such as ✡️, 🕯️, 🕎, 🕍, 🌒
Readonly
maskBitmask of optional event flags. See flags
Optional
memoOptional longer description or memo text
Optional
observedtrue
if the fast day was postponed a day to avoid Shabbat.
Makes a clone of this Event object
Bitmask of optional event flags. See flags
Is this event observed in Israel/Diaspora?
const ev1 = new Event(new HDate(7, 'Sivan', 5749), 'Shavuot II', flags.CHAG | flags.CHUL_ONLY);
ev1.observedIn(false); // true
ev1.observedIn(true); // false
const ev2 = new Event(new HDate(26, 'Kislev', 5749), 'Chanukah: 3 Candles', 0);
ev2.observedIn(false); // true
ev2.observedIn(true); // true
Returns a brief (translated) description of this event. For most events, this is the same as render(). For some events, it procudes a shorter text (e.g. without a time or added description).
Optional
locale: stringOptional locale name (defaults to active locale).
Returns a URL to hebcal.com or sefaria.org for more detail on the event.
Returns undefined
for events with no detail page.
Represents Rosh Hashana, the Jewish New Year