Hi, I have a recurring event in Google Calendar in PST (GMT-8:00) whose recurrence element is :
<gd:recurrence>DTSTART;TZID=America/Los_Angeles:20070220T080000 DTEND;TZID=America/Los_Angeles:20070220T083000 RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=TU BEGIN:VTIMEZONE TZID:America/Los_Angeles X-LIC-LOCATION:America/Los_Angeles BEGIN:DAYLIGHT TZOFFSETFROM:-0800 TZOFFSETTO:-0700 TZNAME:PDT DTSTART:19700308T020000 RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0700 TZOFFSETTO:-0800 TZNAME:PST DTSTART:19701101T020000 RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU END:STANDARD END:VTIMEZONE </gd:recurrence> which suggests that the event is ocurring every thursday 8:00 AM to 8:30 AM. Now i want to parse this ical string which is not difficult. I have already done this but the problem is i want to parse it to a different time zone say EST(GMT-5:00). How do i know that what this event means in EST ? Note that i have to take care of Daylight savings as well so i cant say that this event is always 3 hours ahead in EST since during PDT (GMT -7:00) this difference becomes 2 hours. Any idea how this can be achieved ? Should i also need to read the VTIMEZONE information in the ical string and check whether the event started in GMT-7:00 or GMT -8:00 and convert the time to local time ? Kindly help ASAP Regards Kulvinder Singh ____________________________________________________________________________________ It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar. http://tools.search.yahoo.com/toolbar/features/mail/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
