Re: RFC: DateTime::Calendar::RataDie

2003-06-27 Thread Joshua Hoblitt
that this adds. It might be worth doing just to look at how it effects the design. I have a couple of difference ideas... RFC: DateTime::Calendar::RataDie - A common calendar object for conversions to/from different calendars - Replaces the 'rd' value that is now used for this purpose I'd

Re: RFC: DateTime::Calendar::RataDie

2003-06-27 Thread Flavio S. Glock
Joshua Hoblitt wrote: It might be worth doing just to look at how it effects the design. It would be an experimental module. If it happens to bring new/better ideas we can just use them :) The original idea was to have a simplest-as-possible calendar object, that we could use for

Re: RFC: DateTime::Calendar::RataDie

2003-06-27 Thread Eugene van der Pijll
Flavio S. Glock schreef: - DateTime::Calendar::RataDie::Duration a common duration object to compare dates between calendars An DT::C::RD::Duration would probably look like a DT::Duration object, but only containing days. Durations in hours, minutes and seconds can be converted to

RFC: DateTime::Calendar::RataDie

2003-06-26 Thread Flavio S. Glock
I was just thinking about this. I'm writing it down, to see if it makes sense... RFC: DateTime::Calendar::RataDie - A common calendar object for conversions to/from different calendars - Replaces the 'rd' value that is now used for this purpose - Internals: day -rd day number

Re: RFC: DateTime::Calendar::RataDie

2003-06-26 Thread Dave Rolsky
On Thu, 26 Jun 2003, Flavio S. Glock wrote: yet another object = slower program At least for DateTime.pm, I think this is enough for me to not use it. Given the fact that the internals work fine now, I don't see a good reason to change them. It seems to me that converting between calendars