On Fri, 21 Mar 2003, fglock wrote:

> Is it ok to have a "to_DateTime" function in Date::ICal ?
>
>   $dt = $d_ical->to_DateTime()
>
> Such that you can do tricks with non-DateTime modules:
>
>   use Date::Passover;
>   $dt = passover( 1997 )->to_DateTime;

How about just implementing utc_rd_values so it can be passed to
DateTime->from_object?

This'd be pretty trivial:

 sub { $_[0]->{dt}->utc_rd_values }

;)


-dave

/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/

Reply via email to