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

    Function nextNewMoon

    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.

    • Find the next new moon after a given JDE

      Parameters

      • config: CalendarConfig

        Calendar configuration (for timezone adjustment)

      • jde: number

        Reference JDE (search starts after this)

      Returns number

      JDE of the next new moon, adjusted to local midnight