@hebcal/hdate
    Preparing search index...

    Function daysInYear

    • Number of days in the hebrew YEAR. A common Hebrew calendar year can have a length of 353, 354 or 355 days A leap Hebrew calendar year can have a length of 383, 384 or 385 days

      The three lengths within each group are deficient, regular and complete years respectively; see shortKislev and longCheshvan for which month absorbs the difference.

      Parameters

      • year: number

        Hebrew year

      Returns number

      353-355 in a common year, 383-385 in a leap year

      daysInYear(5783); // 355
      daysInYear(5784); // 383 (leap year)