On Sat, Aug 11, 2001 at 11:00:29PM +0200, Abigail wrote:

> I wrote Date::Maya
[snip]

And I wrote Date::Convert, which currently translates between
Gregorian, Julian, and Hebrew.  It's based on the concept used in the
emacs calendar code, papers, and now books by Reingold and Dershowitz.
It was originally designed to include Islamic, Hindu, Mayan, and other
calendars, but I got caught up in other projects once I had the
functionality I actually needed.

I avoided time of day and timezone issues because with the Hebrew
calendar, that's an absolute nightmare -- the Hebrew date depends not
only on timezone but also on local sunset, and there are disagreements
on exactly where the Hebrew equivalent of the International Date Line
should be located.  Dershowitz and Reingold avoided these issues by
doing the calculations for noon at a normative position.  So if you
want to find out what the Hebrew date sometime after sunset on the
12th of August, you would use Date::Convert to find your Hebrew date
at noon, and then advance it by one.

- Morty

Reply via email to