Hi Vekny i tried the way u said but the output is not correct it shows
one date ahead of the actual event dat i.e. if the event is created on
29 th then it shows the date as 30 and if the event is created at
12:30 pm it shows output like
Start Time: 2007-09-30 04:00
End Time: 2007-09-30 05:00
Please send me if u hav any info regarding this. Eagerly waiting for
ur help. Thnks in advance.
Thanks & Regards,
Nitin M. Ware

On Sep 27, 10:37 am, Nitin <[EMAIL PROTECTED]> wrote:
> Thanks Venky very much for the valueable information that u have
> given.
> Regards,
> Nitin Ware.
>
> On Sep 27, 10:23 am, "venky engineer" <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi Nitin
> >      you can get the specified time as the coding specified below, you
> > should create a list such that i gets the time for all the events that is
> > required,
>
> > List timeList = entry.getTimes();
>
> > *for* (*int* j=0; j<timeList.size();j++){
>
> > When eventTime = (When) timeList.get(j);
>
> > DateTime startTime = eventTime.getStartTime();
>
> > DateTime endTime = eventTime.getEndTime();
>
> > String startTimeStr = startTime.toUiString();
>
> > String endTimeStr = endTime.toUiString();
>
> > System.out.println(startTimeStr);
>
> > System.out.println(endTimeStr);
>
> > With Regards,
>
> > Venky- Hide quoted text -
>
> - Show quoted text -


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