Yes, that would be a bug - I'll get that one too. Now I have something more than a POD
change for version .03. :)
I think I'll also add in overloaded comparison operators, for what it's worth.
Flavio, do you still see a problem with the code? I think it works fine (independent of the bug below).
On Tue, 30 Sep 2003, Steven J. Weinberger wrote:
> 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 increm
Steven J. Weinberger wrote:
>
> 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?
This is what I have in mind:
Heb: 5000-10-15T12:00
> > Change it to what?
>
> self->{months} = months
> self->{years} = years
I can think of several calendars that would benefit from this. Perhaps there should
be some sort of flag to allow > 12 months?
-J
--
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
Steven:
I think these 2 program segments in 'set' method should be in inverted
order:
$self->{rd_days} = &_to_rd( ...
$self->{rd_secs} = ...
$self->{rd_nanosecs} = $self->{nanosecond};
if($self->{sunset} and $self->{time_zone}) {
my $DT_Event_Sunrise = $self->{sunset};
Yitzchak Scott-Thoennes wrote:
>
> Is there any documentation of what api a DateTime::Event:: module
> should provide, as http://datetime.perl.org/developer/calendar.html
> does for DateTime::Calendar:: ?
>
DateTime::Set provides a base API that can be used to make factories.
This is the API us
Steven J. Weinberger wrote:
> After writing this module, my plan is to write the necessary event
> modules to calculate the Jewish Holidays. That's an obvious
> "DateTime::Event::JewishHolidays" or something like that. When I
> reach a point where the information I help calculate is only useful
On Mon, Sep 29, 2003 at 03:01:19PM -0400, "Steven J. Weinberger" <[EMAIL PROTECTED]>
wrote:
> I guess I misunderstood. OK, will redo it into the module documentation.
>
> While I'm writing, I'd like to get other people's opinions on something.
>
> After writing this module, my plan is to write t