Class DailyLearning

Plug-ins for daily learning calendars such as Daf Yomi, Mishna Yomi, Nach Yomi, etc.

Learning schedules are provided by the @hebcal/learning package.

Constructors

Methods

  • Register a new learning calendar.

    Parameters

    • name: string

      case insensitive

    • calendar: Function

    Returns void

  • Returns the names of all calendars registered

    Returns string[]

  • Tests to see if learning calendar has been registered

    Parameters

    • name: string

      case insensitive

    Returns boolean

  • Returns an event from daily calendar for a given date. Returns null if there is no learning from this calendar on this date.

    Parameters

    • name: string

      case insensitive

    • hd: HDate

      Hebrew Date

    • il: boolean

      true for Israel, false for Diaspora

    Returns null | Event