pylib.date module¶
Calculate spacial dates.
- Date
2018-01-15
-
ascension_of_jesus(year)[source]¶ Ascension of Jesus.
- Parameters
year (int) – the year to calculate the ascension of Jesus
- Returns
the day of ascension of Jesus
- Return type
datetime.date
-
easter_friday(year)[source]¶ Easter Friday.
- Parameters
year (int) – the year to calculate the Easter Friday
- Returns
the day of Easter Friday
- Return type
datetime.date
-
easter_monday(year)[source]¶ Easter Monday.
- Parameters
year (int) – the year to calculate the Easter Monday
- Returns
the day of Easter Monday
- Return type
datetime.date
-
easter_sunday(year)[source]¶ Easter Sunday.
- Parameters
year (int) – the year to calculate the Easter Sunday
- Returns
the day of Easter Sunday
- Return type
datetime.date
-
gaußsche_osterformel(year)[source]¶ Gaußsche Osterformel.
- Parameters
year (int) – the year to calculate the Easter Sunday
- Returns
the day of Easter Sunday as a day in march.
- Return type
int
- Variables
X (int) – Das Jahr / year
K(X) (int) – Die Säkularzahl
M(X) (int) – Die säkulare Mondschaltung
S(K) (int) – Die säkulare Sonnenschaltung
A(X) (int) – Den Mondparameter
D(A,M) (int) – Den Keim für den ersten Vollmond im Frühling
R(D,A) (int) – Die kalendarische Korrekturgröße
OG(D,R) (int) – Die Ostergrenze
SZ(X,S) (int) – Den ersten Sonntag im März
OE(OG,SZ) (int) – Die Entfernung des Ostersonntags von der Ostergrenze (Osterentfernung in Tagen)
OS(OG,OE) (int) – Das Datum des Ostersonntags als Märzdatum (32. März = 1. April usw.)
Algorithmus gilt für den Gregorianischen Kalender.
source: https://de.wikipedia.org/wiki/Gau%C3%9Fsche_Osterformel