Kyle Marvin wrote:
> On 9/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > Hello,
> >
> > I'm beginning with the Java Client Library. I can add Event in my
> > calendar but the time isn't correct.
> >
> > I build my DateTime like this :
> > java.util.Date myDateJava = new java.util.Date(Locale.FRANCE)
> > DateTime dateTime = new DateTime(myDateJava);
> >
> > In the out :
> > myDateJava = "Fri Sep 07 17:00:00 CEST 2006"
> > dateTime="2006-09-07T15:00:00.000"
> >
> > Why the dateTime is 2 hours less?
>
> There is no time zone shift information in the 'dateTime' value, so it
> is a UTC (Coordinated Universal Time) value.  UTC is offset by 2 hours
> (less) than CEST.
>
> When you say "time isn't correct", what specifically do you mean?
>
> Hope this helps!
>
> -- Kyle

Hello Kyle

Thanks for your answer and sorry for my english...

When I say "time isn't correct", It's because returned DateTime of
Google is 2 hour less than my Java Time. I'm going to test your
solution and said if it work properly.

Thanks,


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

Reply via email to