Re: DateTime::Event again

2007-06-12 Thread Matthew Persico
: Wednesday, May 16, 2007 2:04 PM To: datetime Subject: Re: DateTime::Event again On Wed, 16 May 2007, Simon Wistow wrote: On Wed, May 16, 2007 at 04:46:56PM +0100, Zefram said: A recurring event is not a single event. It is a structured group of events. You should have distinct classes

Re: DateTime::Event again

2007-06-12 Thread Flavio S. Glock
if a recurrning event it doens't seem to fit. Heck, it doesn't even READ correctly to me. -Original Message- From: Dave Rolsky [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 16, 2007 2:04 PM To: datetime Subject: Re: DateTime::Event again On Wed, 16 May 2007, Simon Wistow wrote

DateTime::Event again

2007-05-16 Thread Simon Wistow
I've started sketching out DateTime::Event - a module that would represent a single, err, event. It's based on my experiences with the Palm Calendar, Google Calendar and the iCalendar standard. Eventually it's my hope that there'd would be numerous implementations of DateTime::Event::Provider

Re: DateTime::Event again

2007-05-16 Thread Zefram
Simon Wistow wrote: I've started sketching out DateTime::Event - a module that would represent a single, err, event. ... The problem we have here is that for one off events start and end are definite points in time. For recurring events this merely represents the earliest and latest instances

Re: DateTime::Event again

2007-05-16 Thread Simon Wistow
On Wed, May 16, 2007 at 04:46:56PM +0100, Zefram said: A recurring event is not a single event. It is a structured group of events. You should have distinct classes for single event and recurrence. Most of the methods you list are applicable to one class or the other, not both. Hmm, I

Re: DateTime::Event again

2007-05-16 Thread Zefram
Simon Wistow wrote: In every calendaring system I've come across a recurring event and a single event are represented as the same thing only with different properties. Bad OO design is very common. Especially, I have found, where dates and times are concerned.

Re: DateTime::Event again

2007-05-16 Thread Adriano Ferreira
On 5/16/07, Simon Wistow [EMAIL PROTECTED] wrote: I've started sketching out DateTime::Event - a module that would represent a single, err, event. It's based on my experiences with the Palm Calendar, Google Calendar and the iCalendar standard. Eventually it's my hope that there'd would be

Re: DateTime::Event again

2007-05-16 Thread Dave Rolsky
On Wed, 16 May 2007, Simon Wistow wrote: On Wed, May 16, 2007 at 04:46:56PM +0100, Zefram said: A recurring event is not a single event. It is a structured group of events. You should have distinct classes for single event and recurrence. Most of the methods you list are applicable to one

RE: DateTime::Event again

2007-05-16 Thread Metz, Bobby
in the scheduling list or update those references if an event object is changed, deleted, or say converted to a standalone event. Just my 2 cents, Bobby -Original Message- From: Dave Rolsky [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 16, 2007 2:04 PM To: datetime Subject: Re: DateTime::Event