[Dev] item collection decisions
Ted Leung
twl at osafoundation.org
Fri Jul 1 12:55:16 PDT 2005
On Jul 1, 2005, at 10:54 AM, Grant Baillie wrote:
> My understanding of the recurrence spec is that CalendarEventMixin
> has a method
>
> getOccurrencesBetween(start, end) -> check for virtual events that
> end after start and start before end, create any that don't already
> exist, return an iterable of events ordered by startTime
>
> In the given case, don't we just need to run this on each calendar
> event in the collection we're given? i.e. adding a "pregeneration"
> callback API, and compiling a query, seem overly complex to me. (Of
> course, there are plenty of other use cases for FilteredCollections).
This goal came from the recurrence spec. If you guys want to call
getOccurrences before executing the query, that's less work for me.
----
Ted Leung Open Source Applications Foundation (OSAF)
PGP Fingerprint: 1003 7870 251F FA71 A59A CEE3 BEBA 2B87 F5FC 4B42
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osafoundation.org/pipermail/chandler-dev/attachments/20050701/78ca4dd8/attachment.htm
More information about the Dev
mailing list