11 messages in com.googlegroups.google-calendar-help-dataapiRe: How to get Extract Date and time ...
FromSent OnAttachments
Nitin26 Sep 2007 21:17 
Kulvinder Singh26 Sep 2007 22:21 
venky engineer26 Sep 2007 22:23 
Nitin26 Sep 2007 22:35 
Nitin26 Sep 2007 22:37 
Nitin26 Sep 2007 23:19 
venky engineer27 Sep 2007 03:00 
Nitin27 Sep 2007 03:18 
venky engineer27 Sep 2007 03:23 
Nitin27 Sep 2007 03:45 
venky engineer27 Sep 2007 03:46 
Subject:Re: How to get Extract Date and time values for the event from the When
From:Nitin (niti@gmail.com)
Date:09/26/2007 10:37:30 PM
List:com.googlegroups.google-calendar-help-dataapi

Thanks Venky very much for the valueable information that u have given. Regards, Nitin Ware.

On Sep 27, 10:23 am, "venky engineer" <venk@gmail.com> 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,