Is anyone working on the Hebrew Calendar?

2003-08-04 Thread Steven J. Weinberger
Is anyone working on a DateTime::Calendar::Hebrew implemetation? I did the pre-requisite search with Google, but I couldn't find any mention of someone working on it. I've been working with the Hebrew calendar for years, and I have loads of code (non object oriented), all based on Dershowitz-Reing

DateTime::Event::Sunset problems

2003-09-24 Thread Steven J. Weinberger
I'm trying to use DateTime::Event::Sunset in my DateTime::Calendar::Hebrew module, but I'm having a problem. Below is my test code. The results from the code are: 2003-09-24T10:42:00 2003-09-24T22:48:00 Sunrise wasn't at 10:42 and the sun will set well before 22:48. Is there something I'm doing w

Re: DateTime::Event::Sunset problems

2003-09-25 Thread Steven J. Weinberger
For my 2-cents, returning the time in the same zone of the DT-object you passed in, makes the most sense. If you're focusing on the astronomy, you probably already used UTC. If you don't know UTC from a potted-plant, it will still work right for you. Steve W. Matt Sisk wrote: Hill, Ronald wrote:

ANNOUNCE: DateTime-Calendar-Hebrew-0.02

2003-09-29 Thread Steven J. Weinberger
Happy 5764, everyone. Tinkered with DateTime::Calendar::Hebrew, implemented the corrections/suggestions I received: .02 Mon Sep 29 00:00:00 2003 - implemented 'floating' timezone properly - implemented after-sunset code properly - takes DateTime::Event::Sunset object for calculati

Re: ANNOUNCE: DateTime-Calendar-Hebrew-0.02

2003-09-29 Thread Steven J. Weinberger
dules cease being relevant to this group? My initial feelings are that after DateTime::Event::JewishHolidays, I start adding to Religion::Jewish, and posting the announcements here. Steve Dave Rolsky wrote: On Mon, 29 Sep 2003, Steven J. Weinberger wrote: - merged multiple READMEs int

Re: ANNOUNCE: DateTime-Calendar-Hebrew-0.02

2003-09-30 Thread Steven J. Weinberger
Flavio: If the RD is a value that only changes at midnight (as you noted previously), then I think my order is right. The way you're suggesting would change the RD if it's after sunset - wouldn't it? If you took a DT::Calendar::Hebrew with an incremented RD and converted it to a DateTime, then co

Re: ANNOUNCE: DateTime-Calendar-Hebrew-0.02

2003-10-02 Thread Steven J. Weinberger
Flavio, Your code overcomes the problem that Dave pointed out (the $dt needs to be cloned & truncated before being passed to $sunset) in a different fashion - another nice way of doing it. I see what you're saying about the wrong date - but it's just a matter of perspective. I had to pick which c

ANNOUNCE: DateTime-Calendar-Hebrew-0.04

2003-10-02 Thread Steven J. Weinberger
.04 Thu Oct 03 12:00:00 2003 - moved sunset.pl to eg/sunset.pl. Added more samples. - added to the docs to explain more about the sunset calculations. - ran podchecker on my module Should have all been included in version .03 Steve