We could add an optional parameter to DateTime::Set

recurrence constructor:




  $r = new DT::Set {


    recurrence => sub { next_day($_) },


    as_ical_string => "RRULE:FREQ=DAILY",


  }




DT::E:Cron, DT::E:Recurrence, DT::E:ICal can use


this to setup a valid ICal string.


In some cases this will be a multiline string.




- Flavio S. Glock






> Quoting Dave Rolsky <[EMAIL PROTECTED]>:


> > This is hard, since recurrences are implemented 
as closures/coderefs, and


> > there's no way to look at one and figure out what 
it represents.


> 


> Is it feasible, during construction, to leave 
enough bread crumbs around to


> reverse the process?


> 


> (I would imagine DT::Event::ICal would be best 
positioned to understand the gap


> between the bread crumbs and actual construction)


> 


> Matt


> 




Reply via email to