jcgnu wrote:
> Ohh I forgot to say... I understand I technically shouldn't change
> those dates since they are meant to be set by Google.
>   

I think it is more that you cannot change those dates. They are the 
dates that the event is updated on or published by Google's servers, see 
http://code.google.com/apis/gdata/basics.html#Inserting-a-new-entry . I 
don't have time to try it, but I expect that any updated or published 
dates that you submit when creating or updating an event will be ignored.

> Even so, I need to set them myself since I use those fields to compare
> event between this calendar and Outlook. And it is very important to
> me since the creation date is the only way to safely distinguish
> events, plus, I'm supplying the date when the event was first
> published in Outlook.
>   
You will need to use some other field for this purpose. The standard is 
gd:extendedProperty. The xml would look something like this.

<gd:extendedProperty name='myapp.com#outlook_first_published' 
value='2008-05-02T17:39:38.000Z' />

See here for setting extended properties in Java: 
http://code.google.com/apis/calendar/developers_guide_java.html#ExtendedProps.

Ray

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