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 of this event (which may both be 
>infinite).

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.

-zefram

Reply via email to