Pacote
    Preparing search index...

    Function julian

    • This function takes a year and returns a Date object with the Eastern Orthodox Easter day on that year at midnight. Please note that this date is returned for the Gregorian calendar, 13 days (as of 1900 through 2099) after the Julian date.

      The function implements the Jean Meeus algorithm from his book Astronomical Algorithms (1991).

      Parameters

      • year: number

        Year.

      Returns Date

      Eastern Orthodox Easter date for the provided year.

      import { julian } from '@pacote/computus'

      julian(2020) // .toLocaleDateString() => '4/19/2020'