Ted Leung wrote:
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.
Yes! we still need this - and no we can't call getOccurences before
executing the query, because we don't have the items in the query that
we'd call getOccurences on!
Its a bit of chicken-and-egg and so we really need the query to call us
back..
Alec
----
Ted
Leung Open Source Applications Foundation (OSAF)
PGP
Fingerprint: 1003 7870 251F FA71 A59A CEE3 BEBA 2B87 F5FC 4B42
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev