Hello.

I need to be able to set the updated and published dates of a new or
an existing event in Google Calendar using Java. I've seen two methods
that should do it: setPublished and setUpdated. The problem is that it
doesn't work. While it does compile, it doesn't respect the dates I'm
supplying... Please, if someone can help me I will really appreciate
it! Thanks!

Part or my code:

CalendarEventEntry myEntry = new CalendarEventEntry();
DateTime creationDate =
formatDate(eventos[i].getCreacionAnio(),eventos[i].getCreacionMes(),
 
eventos[i].getCreacionDia(),eventos[i].getCreacionHora(),eventos[i].getCreacionMinutos(),
                        eventos[i].getCreacionSegundos());
DateTime updateDate =
formatDate(eventos[i].getModificacionAnio(),eventos[i].getModificacionMes(),
 
eventos[i].getModificacionDia(),eventos[i].getModificacionHora(),eventos[i].getModificacionMinutos());
...
myEntry.setPublished(creationDate);
myEntry.setUpdated(updateDate);
...
--~--~---------~--~----~------------~-------~--~----~
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