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, 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 the word from the Ana BeKoach prayer (אָנָּא בְּכֹחַ) corresponding
to this Omer day. Ana BeKoach is a 42-word Kabbalistic prayer whose initial
letters spell out the 42-letter name of God. The prayer has 7 verses of
6 words each; the 7th entry of each group is the abbreviation of the acrostic
letters for that verse (e.g. אב״ג ית״ץ for verse 1). Together the 49
entries (7 verses × 7 entries) align with the 49 days of the Omer, connecting
each day to one of the lower seven Sefirot within a Sefirah.
a Hebrew word or verse-abbreviation string from Ana BeKoach
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 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 the letter from verse 5 of Psalm 67 corresponding to this Omer day. Verse 5 (יִשְׂמְחוּ וִירַנְּנוּ לְאֻמִּים…) contains exactly 49 letters, one for each day of the Omer, and is used as a Kabbalistic meditation during the counting.
a single Hebrew letter from verse 5 of Psalm 67
Returns the word from Psalm 67 (לַמְנַצֵּחַ, "Lamnatzeach") corresponding to this Omer day. Psalm 67 contains 49 words (excluding its opening verse), one for each day of the Omer. The words are taken from verses 2–8, split on spaces and maqef (־).
a Hebrew word from Psalm 67
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 Sefirah pairing associated with this Omer day —
one of the seven lower Sefirot within another, calculated as
day-within-week of week-within-cycle. For example, on day 8
(week 2, day 1):
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,
or undefined for events with no detail page.
Subclasses such as HolidayEvent, ChanukahEvent, AsaraBTevetEvent, ParshaEvent, and OmerEvent override this with their own URL patterns.
Represents one of the 49 days of counting the Omer between Pesach and Shavuot (16 Nisan through 5 Sivan).
Each day has an associated Sefirah pairing (e.g. Chesed shebiGevurah), a word from Psalm 67 (Lamnatzeach), a letter from verse 5 of Psalm 67, and a word/acrostic from the Ana BeKoach prayer — all accessible via the methods on this class.
Example