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
Optional longer description or memo text
Category name used as the location field in iCalendar event feeds. Subclasses override this with their calendar's display name (e.g. "Daf Yomi", "Daily Rambam", "929").
Returns a simplified (untranslated) description for this event, suitable for grouping related events under a single name.
For example, HolidayEvent strips qualifiers so that
"Erev Pesach" → "Pesach" and "Sukkot III (CH''M)" → "Sukkot".
For many events the basename and the event description are identical.
Returns an array of category strings classifying this event, derived
from its flags bitmask. The first element is the broad category
(e.g. 'holiday', 'roshchodesh', 'parashat', 'omer'), followed
by zero or more refinements (e.g. 'major', 'minor', 'fast').
Returns ['unknown'] if no flag maps to a known category.
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.
Returns the event's emoji character (e.g. 🕯️, 🕎, 🇮🇱, 🍏🍯),
or null if no emoji is associated with this event.
Subclasses override this to provide holiday-specific emoji.
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 name of reading
Optionallocale: stringOptional locale name (defaults to active locale).
Returns a brief (translated) description of this event.
For most events this is the same as render. Some subclasses (e.g. CandleLightingEvent, HavdalahEvent, OmerEvent) produce shorter text without an attached time or extra qualifier — useful for compact UI display.
Optionallocale: stringOptional locale name (defaults to empty locale)
Returns a link to sefaria.org e.g. https://www.sefaria.org/Shemirat_HaLashon%2C_Book_I%2C_The_Gate_of_Torah.4.2?lang=b
Event wrapper around a Sefer Shemirat HaLashon reading — daily study of the laws of guarded speech by Rabbi Yisrael Meir Kagan (a companion to the Chofetz Chaim).
The schedule is Hebrew-calendar driven and repeats annually; the published cycle began on 21 Sh'vat 5636 (~16 February 1876). Looking up a date earlier than that returns
nullfromDailyLearning.lookup('shemiratHaLashon', ...).Example