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

    Function majorSolarTermJDE

    Low-level pure functions for calendar conversion. Most users should prefer the ChineseDate value object API. These functions are useful when you need fine-grained control or want to build custom logic on top of the core algorithms.

    • Get JDE of a major solar term (中气, Z1-Z12)

      Major solar terms occur when the sun's longitude is a multiple of 30°. Z1=雨水, Z2=春分, Z3=谷雨, ..., Z12=大寒.

      Parameters

      • config: CalendarConfig

        Calendar configuration

      • term: number

        Major term number (1-12)

      • gyear: number

        Gregorian year

      Returns number

      JDE of the major solar term