StaticaddRegisters a new learning calendar.
The provided function is called whenever a caller asks for an event
from this calendar; if no learning occurs that day (e.g. the date is
before the cycle's start) it should return null.
StaticgetReturns the (lower-cased) names of all currently-registered learning calendars.
StaticgetReturns the first Hebrew date for which the named learning calendar
is valid (as registered by addCalendar), or undefined if the
calendar was not registered with a start date or is not registered at all.
case insensitive
StatichasReturns true if a learning calendar with the given name has been
registered via addCalendar.
case insensitive
Staticlookup
Plug-in registry for daily learning calendars such as Daf Yomi (Bavli), Yerushalmi Yomi, Mishna Yomi, Nach Yomi, etc.
@hebcal/coreitself contains no learning schedules — they are provided by the @hebcal/learning package, which calls DailyLearning.addCalendar on import. After@hebcal/learningis loaded,HebrewCalendar.calendar()will emit learning events when the correspondingoptions.dailyLearningflag is set.Example