Austin, I thought so after I found out how startMin and startMax work,
but I said I better ask.

Anyway, you are a great help.

THANK YOU :)

On Mar 28, 11:23 pm, "Austin (Google)" <[EMAIL PROTECTED]> wrote:
> Hi Ahmad,
>
> The way you are using start-min and start-max is correct, if you are look at
> the reference guide on the acceptable query parameter for calendar feed -
>
> http://code.google.com/apis/calendar/reference.html#Parameters
>
> You will notice that the start-min and start-max essential create a timespan
> that capture all events within that window of time.  In that sense, the name
> "start-min" and "start-max" is somewhat misleading in that it's not really
> filtering relative to its an event's start time.
>
> The kind of filtering you want that is relative to its start time can be
> done programmatically, you just need to specify your window with start-min
> and start-max and then iterate through all the events that are returned and
> filter out those that have start time after your start-min.  I know this
> requires a little bit more work for you to get what you want but it's the
> only way do that.
>
> Hope that helps,
> Austin
>
> On Fri, Mar 28, 2008 at 11:41 AM, Ahmad <[EMAIL PROTECTED]> wrote:
>
> > Hello, I am sure that some had faced this problem before, I am trying
> > to query a g-cal. Ex, I want to get events that START between 10:00 AM
> > and 11:00 AM
>
> > I use this:
>
> > $query->setStartMin("2008-04-14T10:00:00" . $this->timeZone);
> > $query->setStartMax("2008-04-14T11:00:59" . $this->timeZone);
>
> > this query gets events that start between 10:00 AM and 11:00 AM PLUS
> > events that start before 10:00 AM but ends at 10:30 AM
>
> > Any help?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to