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
ReadonlyomerReturns 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.
Returns an emoji number symbol with a circle, for example ㊲
from the “Enclosed CJK Letters and Months” block of the Unicode standard
a single Unicode character from ① through ㊾
Bitmask of optional event flags. See flags
Returns a sentence with that evening's omer count
a string such as Today is 10 days, which is 1 week and 3 days of the Omer
or הַיוֹם עֲשָׂרָה יָמִים, שְׁהֵם שָׁבוּעַ אֶחָד וְשְׁלוֹשָׁה יָמִים לָעוֹמֶר
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?
Optionallocale: stringOptional locale name (defaults to empty locale)
Returns translation of "Omer day 22" without ordinal numbers.
Optionallocale: stringOptional locale name (defaults to empty locale)
Returns the sefira. For example, on day 8:
en (English), he (Hebrew with nikud), or translit (Hebrew in Sephardic transliteration)
a string such as Lovingkindness within Might or חֶֽסֶד שֶׁבִּגְבוּרָה
Returns a URL to hebcal.com or sefaria.org for more detail on the event.
Returns undefined for events with no detail page.
Represents a day 1-49 of counting the Omer from Pesach to Shavuot