OptionalalarmAlarms are used by iCalendar feeds
ReadonlydateHebrew date of this event
ReadonlydescUntranslated 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.
OptionalemojiOptional emoji character such as ✡️, 🕯️, 🕎, 🕍, 🌒
ReadonlymaskBitmask of optional event flags. See flags
OptionalmemoOptional longer description or memo text
Category name used as the location field in iCalendar event feeds.
Returns a simplified (untranslated) description for this event. For example,
the HolidayEvent class supports
"Erev Pesach" => "Pesach", and "Sukkot III (CH''M)" => "Sukkot".
For many holidays the basename and the event description are the same.
Returns a list of event categories
Hebrew date of this event
Untranslated 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 holiday-specific Emoji or null.
Bitmask of optional event flags. See flags
Gregorian date of this event
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
Is this event observed in the Diaspora?
Returns the name with "Dirshu Amud HaYomi: " prefix (e.g. "Dirshu Amud HaYomi: Shekalim 4b"). In Hebrew, uses full amud notation with "דף" and "ע״א"/"ע״ב" (e.g. "פסחים דף פ״ד ע״ב").
Optionallocale: stringOptional locale name (defaults to active locale).
Returns name of tractate and amud (e.g. "Shekalim 4b"). In Hebrew, uses short notation without "דף" and with plain "א"/"ב" (e.g. "פסחים פ״ד ב").
Optionallocale: stringOptional locale name (defaults to active locale).
Returns a link to sefaria.org
Event wrapper around a Dirshu Amud HaYomi result