Hello,

Please have a look at the Developer's
Guide<http://code.google.com/apis/calendar/data/2.0/developers_guide_java.html#RetrievingDateRange>in
Java. To retrieve events for the Russian Holidays calendar, please
change
the feedURL to point to this specific calendar by replacing "default" in the
URL by the calendar's ID:

URL feedUrl = new
URL("https://www.google.com/calendar/feeds/*default*/private/full";);


Best,
Alain

On Sat, Oct 1, 2011 at 6:54 AM, Яков Иванов <[email protected]>wrote:

> I try to use Google Calendar API, and I have to ask a question: I use this
> code for getting calendars:
>
> // Create a CalenderService and authenticate
> CalendarService myService = new CalendarService("exampleCo-exampleApp-1");
>
> myService.setUserCredentials("[email protected]", "mypassword");
>
> // Send the request and print the response
> URL feedUrl = new 
> URL("https://www.google.com/calendar/feeds/default/allcalendars/full";);
> CalendarFeed resultFeed = myService.getFeed(feedUrl, CalendarFeed.class);
> System.out.println("Your calendars:");
> System.out.println();
> for (int i = 0; i < resultFeed.getEntries().size(); i++) {
>
>   CalendarEntry entry = resultFeed.getEntries().get(i);
>   System.out.println("\t" + entry.getTitle().getPlainText());
> }
>
>
> but I need to get event from calendar of russian holidays by today, and I
> don't know how to do for my task. Help me please, I try to create
> application in Java
>
> --
> 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 | Developer Programs Engineer

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