Lars wrote:

Calculating holidays (e.g. Easter, Passover, Ramadan, J-dagen) would be a
useful function to have in Calc.  Maybe CPAN's Date::calc could be used as

OOo 1.1.5 can calculate Easter correctly for the Gegorian Calender
using the rule set of the Anglican Church.  That formula is incorrect
when the Julian calender is used, or when one uses one of the ten or
so other rule sets for calculating Easter.

The formula for calculating Passover, using the rule set for
Rabbinical Judaism is relatively simple.  {Once you get the monads
correct.]  Calculating Passover using either the Karaite Rule set or
Samaritan Rule set is going to be, at best, a rough guestimate.

There are two different rule sets for calculating when Ramadan occurs.
Only one of them can be reduced to a formula that will work in OOo.
[There is no known formula that can have the visible new moon sighted,
before the astronomical new  moon occurs.  Yet that is what the rule
set used by a very influential Muslim country permits.]

It would be time consuming, but fairly simple to write a macro for
each of the rule sets for Easter, Passover, and the rest of the
religious Holy Days that change dates every year.
[Do one macro for each rule set, for each event, or one macro per
event, with the user having to select which rule set to use.]

xan

jonathon
--
Ethical conduct is a vice.
Corrupt conduct is a virtue.

Motto of Nacarima

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to