• Return the number of days in this lunar year

    Parameters

    • year: number

      lunar year

    Returns number

    Days in lunar year

    // => 354
    getYearDays(2024)
    // => 384
    getYearDays(2025)
    // => -1
    getYearDays(1899)