@hebcal/core
    Preparing search index...

    Class Sedra

    Represents Parashah HaShavua for an entire Hebrew year

    Index

    Constructors

    • Caculates the Parashah HaShavua for an entire Hebrew year

      Parameters

      • hyear: number

        Hebrew year (e.g. 5749)

      • il: boolean

        Use Israel sedra schedule (false for Diaspora)

      Returns Sedra

    Methods

    • Returns the date that a parsha occurs or null if the parsha doesn't occur this year

      Parameters

      • parsha: string | number | string[]

        if a string, specified with Sephardic transliterations like 'Noach' or 'Matot-Masei'. If an array, must be a 1- or 2-element array such as ['Noach'] or ['Matot', 'Masei']. If a number, should be a 0-based parsha index (0 for Bereshit, 1 for Noach) or a negative number for a doubled parsha (e.g. -21 for Vayakhel-Pekudei)

      Returns null | HDate

    • Returns the date that a parsha (or its doubled or undoubled counterpart) occurs, or null if the parsha doesn't occur this year

      Parameters

      • parsha: string | number

      Returns null | HDate

    • Returns the parsha (or parshiyot) read on Hebrew date

      Parameters

      • hd: number | HDate

        Hebrew date or R.D. days

      Returns string[]

      Use lookup instead

    • R.D. date of the first Saturday on or after Rosh Hashana

      Returns number

    • Returns the underlying annual sedra schedule. Used by @hebcal/triennial

      Returns readonly NumberOrString[]

    • Looks up parsha for the date, then returns a translated or transliterated string

      Parameters

      • hd: number | HDate

        Hebrew date or R.D. days

      • Optionallocale: string

        Optional locale name (i.e: 'he', 'fr'). Defaults to active locale

      Returns string

      Use lookup instead

    • Checks to see if this day would be a regular parasha HaShavua Torah reading or special holiday reading

      Parameters

      • hd: number | HDate

        Hebrew date or R.D. days

      Returns boolean

      Use lookup instead