On Fri, 21 Mar 2003, fglock wrote: > Dave Rolsky wrote: > > > > On Fri, 21 Mar 2003, fglock wrote: > > > > > All methods are DateTime wrappers; all tests pass. > > > - Thanks to Dave Rolsky for helping with bugs! > > > - The functions jd2greg(), greg2jd() are still "native". > > > > You should use _rd2ymd and _ymd2rd. These are much faster cause they're > > written in C in DateTime.xs. > > Aren't "rd" and "jd" different functions? I mean, this is the API, not > internal functions. > They aren't even used by the module itself.
The thing is that when Date::ICal says jd there it's lying because it really produces Rata Die days! In fact, those functions are the same as what DateTime.pm uses, I just recoded them in C. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/