• Returns days in a lunar leap month if there is a leap month in the year otherwise return 0

    Parameters

    • year: number

      lunar year

    Returns number

    Days in lunar leap month

    // => 29
    getLeapMonthDays(2023)
    // => 0
    getLeapMonthDays(2024)