Hi
i use this code its work but it give me the time for start time
 2012-12-04T01:00:00.000+01:00     and end time
2012-12-04T01:00:00.000+01:00

the code
 CalendarQuery q = new CalendarQuery(feedUrl);
q.setStringCustomParameter("singleevents", "true");
CalendarEventFeed myResultsFeed = myService.query(q,
CalendarEventFeed.class);
        if (myResultsFeed.getEntries().size() > 0) {
            CalendarEventEntry firstMatchEntry = (CalendarEventEntry)
myResultsFeed.getEntries().get(0);
            String myEntryTitle = firstMatchEntry.getTitle().getPlainText();
            List<When> my=firstMatchEntry.getTimes();
System.out.println(my.get(0).getStartTime()+"
"+my.get(0).getEndTime());
        }

but how can i get the correct time

On Wed, Jun 1, 2011 at 6:08 PM, Alain Vongsouvanh <[email protected]> wrote:

> Hi Redha,
>
> If you want to create a recurring event, you have no choice but to build
> the recurrence rule and put it in a Calendar Event Entry (the string you are
> talking about). If you want to retrieve this particular event, and have it
> split into multiple single event, you can use the singleevents query
> parameter as specified in the mentioned forum post.
>
> Best,
> Alain
>
> On Tue, May 31, 2011 at 12:47 PM, Redha Kaban <[email protected]>wrote:
>
>> Hi
>> can i use when for create all day event in Google calendar with Java and
>> is there any example to do that . i use before recurrence and i can create
>> that event but when i call it it give me the string i send an email and you
>> answer about old question and i see it but no answer about how can i create
>> the all day event and how to call it every day to do some thing in that time
>> .
>> can any one help me om example how to create all day event and how i call
>> it .
>>
>>  --
>> 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://code.google.com/apis/calendar/community/forum.html
>>
>
>
>
> --
> Alain Vongsouvanh
>
>
>
>  --
> 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://code.google.com/apis/calendar/community/forum.html
>

-- 
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://code.google.com/apis/calendar/community/forum.html

Reply via email to