mō ôÔ5;c@sdZdkZhZd„ZeZeZd„ZeZd„Zd„Z e Z e Z d„Z e Z e Zd„ZeZeZeZd„ZeZeZd „ZeZd „ZeZeZeZd „ZeZeZd „Zd „Z e Z!e Z"d„Z#e$djo e#ƒndS(sM Calculate moveable feasts that depend on the date of Easter Sunday. Copyright (c) 1998-2000, Marc-Andre Lemburg; mailto:mal@lemburg.com Copyright (c) 2000-2001, eGenix.com Software GmbH; mailto:info@egenix.com See the documentation for further information on copyrights, or contact the author. All Rights Reserved. Nc Cs ti|ƒo t|Sn|d}|d}||dd|ddd|dd}||d d |d d |d d |d }||d|d||dd}||}d|dd}|d d|d} t i ||| ƒt|<}|S(sēEasterSunday(year) Return a DateTime instance pointing to Easter Sunday of the given year. Note: it must be given *with* century. Based on the algorithm presented in the Calendar FAQ by Claus Tondering (http://www.pip.dknet.dk/~pip10160/calendar.html), which in return is based on the algorithm of Oudin (1940) as quoted in "Explanatory Supplement to the Astronomical Almanac", P. Kenneth Seidelmann, editor.iidiii iiiiiiii iiii(i,iN( t _eastereggsthas_keytyeartGtCtHtItJtLtmonthtdaytDateTimetd( RRR RRRRRR R ((t=/data/zmath/lib/python2.4/site-packages/mx/DateTime/Feasts.pyt EasterSunday s    .2& cCst|ƒdS(Ni0(RR(R((R tCarnivalMonday,scCst|ƒdS(Ni/(RR(R((R t MardiGras2scCst|ƒdS(Ni.(RR(R((R t AshWednesday6scCst|ƒdS(Ni(RR(R((R t PalmSunday=scCst|ƒdS(Ni(RR(R((R t EasterFridayDscCst|ƒdS(Ni(RR(R((R t EasterMondayLscCst|ƒdS(Ni'(RR(R((R t AscensionSscCst|ƒdS(Ni1(RR(R((R t PentecostYscCst|ƒdS(Ni2(RR(R((R t WhitMondayascCst|ƒdS(Ni8(RR(R((R t TrinitySundayhscCst|ƒdS(Ni<(RR(R((R t CorpusChristilscCstdk}dk}tiƒi}dGHxGtdƒD]9}t||ƒ}dG|i |ƒGdG|i |ƒGHq3WdS(Ns$Easter Sunday for the next few yearsi sISO:s ARPA:( tISOtARPAR tnowRtrangetiRteastertstr(RRRRR((R t_testss t__main__(%t__doc__R RRt OstersonntagtDimanchePaquesRt RosenmontagRRtAschermittwochtMercrediCendresRt PalmsonntagtDimancheRameauxRt GoodFridayt Karfreitagt VendrediSaintRt Ostermontagt LundiPaquesRt HimmelfahrtRt WhitSundaytPfingstsonntagtDimanchePentecoteRt PfingstmontagtLundiPentecoteRRt FronleichnamtFeteDieuR!t__name__(#RR6R)R7R!R-RR R*R.R$R&RRRRR'R1R,R/R2R3RRRRR0R5RR(R+R%RRR4((R t?sJ