other.gauss_easter

https://en.wikipedia.org/wiki/Computus#Gauss’_Easter_algorithm

Attributes

tense

Functions

gauss_easter(→ datetime.datetime)

Calculation Gregorian easter date for given year

Module Contents

other.gauss_easter.gauss_easter(year: int) datetime.datetime

Calculation Gregorian easter date for given year

>>> gauss_easter(2007)
datetime.datetime(2007, 4, 8, 0, 0, tzinfo=datetime.timezone.utc)
>>> gauss_easter(2008)
datetime.datetime(2008, 3, 23, 0, 0, tzinfo=datetime.timezone.utc)
>>> gauss_easter(2020)
datetime.datetime(2020, 4, 12, 0, 0, tzinfo=datetime.timezone.utc)
>>> gauss_easter(2021)
datetime.datetime(2021, 4, 4, 0, 0, tzinfo=datetime.timezone.utc)
other.gauss_easter.tense