Well, I think I prefer Stewarts numerical solution.
R.E. Boss > -----Oorspronkelijk bericht----- > Van: [email protected] [mailto:programming- > [email protected]] Namens Devon McCormick > Verzonden: vrijdag 11 september 2009 21:27 > Aan: Programming forum > Onderwerp: Re: [Jprogramming] Extending dates.ijs > > Easter is simply the first Sunday after the first full moon following the > vernal equinox. > > This combination of solar (equinox) and lunar (full moon) calendars > ensures > that Easter is always either on the same weekend as the Jewish holiday of > Passover, or it's a full month off (because the Jewish calendar is lunar). > > On Fri, Sep 11, 2009 at 2:31 PM, Sherlock, Ric > <[email protected]>wrote: > > > I know I will find it useful personally. Working when the Easter break > is > > each year, is a continuous frustration for me! > > > > > From: R.E. Boss > > > I do not know how relevant this is, but it appears to be useful, > > > sometimes. > > > > > > NB. from > > > > http://dev.whydomath.org/Reading_Room_Material/ian_stewart/2000_03.html > > > EasterSunday =: 3 : 0 NB. y is year(s) > > > A=. 19 | y > > > 'B C'=. 100 (<....@%~ ,: |) y > > > 'D E'=. 4 (<....@%~ ,: |) B > > > G=. <. 25 %~ 13 + 8 * B > > > H=. 30 | 15 + B + (19*A) - D + G > > > 'J K'=. 4 (<....@%~ ,: |) C > > > M=. <. (A + 11 * H) % 319 > > > L=. 7 | 32 + M + (2 * E + J) - H + K > > > N=. <. (90 + H + L - M) % 25 > > > P=. 32 | 19 + H + L + N - M > > > |:y,N,:P > > > ) > > > > > > EasterSunday 2000 + i.10 > > > 2000 4 23 > > > 2001 4 15 > > > 2002 3 31 > > > 2003 4 20 > > > 2004 4 11 > > > 2005 3 27 > > > 2006 4 16 > > > 2007 4 8 > > > 2008 3 23 > > > 2009 4 12 > > > EasterSunday 1000000 NB. from Ian Stewart > > > 1000000 4 16 > > > > > > > > > From the link above " Under the rules of the Gregorian calendar, the > > > cycle > > > of Easter dates repeats exactly after 5,700,000 years." > > > > > > > > > R.E. Boss > > > > > > > > > > > > > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > > > -- > Devon McCormick, CFA > ^me^ at acm. > org is my > preferred e-mail > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
