@hebcal/learning
    Preparing search index...

    Class MishnaYomiIndex

    A program of daily learning in which participants study two mishnayot each day in order to finish the entire Mishna in ~6 years.

    The cycle began on 20 May 1947 (1 Sivan 5707).

    Construct the index once and call * .lookup(date) for each day you need.

    import {MishnaYomiIndex} from '@hebcal/learning/mishnaYomiBase';

    const index = new MishnaYomiIndex();
    const reading = index.lookup(new Date(2024, 3, 8));
    // [{k: 'Nazir', v: '1:6'}, {k: 'Nazir', v: '1:7'}]
    Index

    Constructors

    Methods

    Constructors

    • Builds the in-memory index of all 2,096 days in the cycle. Construction walks every mishna in the Shisha Sidrei; reuse the same instance across many lookups instead of constructing on each call.

      Returns MishnaYomiIndex

    Methods

    • Returns the two mishnayot to study on the given date.

      Parameters

      • date: number | HDate | Date

        Hebrew date, Gregorian Date, or absolute (R.D.) day number.

      Returns MishnaYomi[]

      An array of exactly two MishnaYomi entries. The two mishnayot are usually consecutive within the same tractate but can straddle a tractate boundary on the last day of a tractate.

      if date is before 20 May 1947.

      if date is not an HDate, Date, or finite number.