DateTime folks,

Now that I *finally* have some spare tuits, I have started reading
Calendrical Calculations, and, as I read, writing Perl code to implement
all of the functions presented in the book. CC is primarily an algorithm
book, not really a book about calendars, in the
social/historic/religious sense, although there is some discussion of
that nature.

Yes, I know that Mordechai T. Abzug has written modules that implement
the functions of this book (Date::Convert), and I am not at all
questioning the quality of his code. I am doing this reimplementation
primarily for two reasons.

1) It's fun. I am not doing this in order to solve any particular
problem, or for any particular project, but because I am interested in
the algorithms, and it helps me understand the book as I read it.

2) Although Mordechai's modules are based on Nachum and Dershowitz's
work, it is based on earlier papers and books, and this new one - the
so-called Millenium Edition - contains a number of corrections and
simplifications over these earlier works.

But mostly for reason 1.

I don't know if any of this will ever make it to CPAN. It rather depends
on whether anyone is interested in any of it. But I just wanted to let
people know that I was working on it, in case anyone cares.

I'm using the same function names that the book uses, so one should be
able to open to any page in the book, and use the bold function names
directly to get a numerical answer. This will be useful to me, anyway,
as I learn much better by example than by just reading.

This code will be available at http://dates.rcbowen.com/ by some time
this evening, and I'll try to update it as I work through the book.

Once again, if you want an actual functioning module, you really should
check out Date::Convert, which is already on CPAN, and already works.
This is purely a mathematical exercise for me.

-- 
Rich Bowen - [EMAIL PROTECTED]
http://geeks.cre8tivegroup.com/  --- Work
http://www.rcbowen.com/ --- Play

Reply via email to