Hi Jacky,

I'd be glad to help, but I'm not sure I understand your first
question.  Can you explain what you mean by "a timestamp value that
could let me go on finishing the last query?"

It looks like you're using the "published" and "updated" parameters
correctly to retrieve events that are new or changed since the last
sync.  In the Java client library the setUpdatedMin and
setPublishedMin methods are defined in the Query class which is the
superclass of CalendarQuery, so maybe these are the docs you're
looking for: 
http://code.google.com/apis/gdata/javadoc/com/google/gdata/client/Query.html.

Hope that gets you back on track,
Lane

On May 8, 3:32 am, "Jacky.S" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I got a problem with synchronization between gCal and my local
> Database.
>
> 1. If it was the first time to synchronize with google Calendar, that
> is, my local DB is empty, then currently I query all events and add to
> DB.
>
> 2. If the first time synchronization was successful, that is, all
> events has been inserted into DB without any problem, then I can check
> the events updated or deleted by setUpdateMin during next query.
> However, if the first step got failed or did't finish normally, I
> should continue to finish the first step. But is there a timestamp
> value that could let me go on finishing the last query?
>
> I should have asked about the published and updated Parameters. But I
> was not sure about the meaning of these 2 Parameters. I didn't find
> documents talking about the full function of the API
> setUpdatedMin(...) and setPublishedMin(...) in JAVA client. And when I
> set setPublishedMin() there were no events returning.
>
> Could you help me?
>
> Thanks,
>
> Jacky


--~--~---------~--~----~------------~-------~--~----~
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