Celestine API Documentation - v0.9.0
    Preparing search index...

    Function localDayToUT

    • UT bounds of an IANA-zone Gregorian calendar day, using host Intl timezone data. The interval is half-open; skipped midnights start at the first existing instant. Entirely skipped dates and invalid dates/zones throw RangeError. No coordinate frame applies.

      Parameters

      • date: LocalDayDate

        Integer Gregorian year, month (1–12), and day; astronomical year numbering

      • timeZone: string

        IANA zone name, or UTC

      Returns LocalDayUT

      UT startJD/endJD, elapsed hours, and boundary offsets in minutes east of UTC

      localDayToUT({ year: 2026, month: 3, day: 29 }, 'Europe/Berlin') // 23 hours