• Returns the number of days in a non-leap month of lunar

    Parameters

    • year: number

      lunar year

    • month: number

      lunar month

    Returns number

    Days in lunar non-leap month

    // => 29
    getLeapMonth(2024, 12)
    // => 30
    getLeapMonth(2025, 1)
    // => -1
    getLeapMonth(1899, 13)