chinese-lunar-date API - v1.0.5
    Preparing search index...

    Function getQingming

    24 solar terms (二十四节气) calculation and naming. Odd-numbered terms are 节气 (minor), even-numbered are 中气 (major).

    • Get Qingming (清明) date for a Gregorian year

      Qingming is the 5th solar term, typically falling on April 4 or 5. It is culturally significant as the date for 扫墓 (tomb-sweeping).

      Parameters

      • config: CalendarConfig

        Calendar configuration

      • gyear: number

        Gregorian year

      Returns GregorianDate

      Gregorian date of Qingming

      getQingming(CHINESE_CONFIG, 2024)  // { year: 2024, month: 4, day: 4 }