Hello Sebastian, On Fri, May 27, 2011 at 10:13 AM, Sebastián Rajo <[email protected]> wrote:
> Hi again. > > 1. I have a recurrent event and I need to get the start date, and the end > date for the first recurrence (e.g. DTSTART;VALUE=DATE:20100722 > and DTEND;VALUE=DATE:20100723). Just that. What can I do? I know that I > can't use: > > List<When> whenList = event.getTimes(); > > because is empty. I try to use getReccurrence(). getValue(), but gives me a > String of all the properties, like a .ics (do I parse that !?) > > It is empty because the time is set in the recurrence rule which should be set. If you want to have the time in the event's gd:when field, you can use the singleevents<http://code.google.com/apis/calendar/data/2.0/reference.html#Parameters>query parameter to have your recurring events expanded as multiple single events. > 2. Why when a set a event in Google Calendar as allDay, when a I get the > When Date from Java gives me, for example, since one day at 9 PM to the next > day at 9 PM? I expect one day from 00:00 to the same day at 23.59 as values. > > You might have to check the value of the timezone. The reason might be that your calendar is set in your current timezone but the time returned by the API (or by the client library) is in UTC. Best, Alain > Tanks! > > -- > 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
