The start-max is exclusive, so if you want to find events on October 31, you need to specify start-max=2009-11-01
The way to find matches only in the title is to get the entire result set and then filter on only the title in your own code. Ray On Sat, Nov 7, 2009 at 11:49 AM, DPM <[email protected]> wrote: > > > Hmmm... I think this goes in the right direction. > > You need 3 params: > > q = find text in the doc > [start-min + start-max] = find all events which overlap this time > period > > This example would find [all events containing the word FOO, and > overlap october] > http://www.google.com/calendar/feeds/default/private/private?q=FOO&start-min=2009-10-01&start-max=2009-10-31 > > Unfortunately, this finds matching words in the ENTIRE event, not just > the title. I haven't found a way to just look in the title. > > > On Oct 25, 12:37 pm, kgena <[email protected]> wrote: >> Hello, >> >> I apologize if this question has been answered already, but I could >> not find the response within current posts. >> >> Here is the question: >> >> Knowing only calendar title (not the ID) I would like to retrieve all >> events of that calendar that fall in certain time/date range. >> >> I know how to do it in the following manner >> 1. Query for all user’s calendars and find the calendar entry I’m >> interested in by iterating and comparing the ‘title’ field. >> 2. Construct appropriate feed URL and get the events of interest >> utilizing CalendarQuery instance. >> >> The above approach takes two service calls and I was wandering if it’s >> possible to skip the first step to have only one service call. In >> other words, to construct a query that conceptually will be >> constrained by : “calendar title”, “start time” and “add time”. >> >> Thanks, >> gena > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Calendar Data API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-calendar-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
