Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Calendar Framework

by blokhead (Monsignor)
on Mar 15, 2005 at 06:37 UTC ( #439557=note: print w/replies, xml ) Need Help??

in reply to Calendar Framework

DateTime::Event::ICal is probably what you want. Although it doesn't help with the specific (de)serialization issue (I don't know if RFC2445 date recurrences have a standardized written syntax), it will definitely help with calculating when the recurring events happen.

I would suggest having a standardized format (of your own creation, or as specified by RFC2445) for recurring events that you can easily parse into something to pass into the constructor for DateTime::Event::ICal. Then, you can query the DateTime::Set object it returns for all the dates in the recurrence between the first of the month and last of the month.


Replies are listed 'Best First'.
Re^2: Calendar Framework
by fglock (Vicar) on Mar 15, 2005 at 16:21 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://439557]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2017-11-18 09:36 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (277 votes). Check out past polls.