|
How do I add an event with named and defined time zone?: msg#00283org.google.api.calendar
Prior to my work with the API, I was adding events to the Google Calendar by creating iCalendar (".ics") files and manually importing them on the web. This all worked fine. The Calendar files typically have several events, around the world, with several time zones. Each event date/time typically has a time zone defined by name, eg: DTSTART;TZID=/softwarestudio.org/Olson_20011030_5/America/San_Francisco:2 0061014T090000 DTEND;TZID=/softwarestudio.org/Olson_20011030_5/America/San_Francisco:200 61020T180000 Then at the end of the file is a definition for every time zone used earlier within the file; eg: BEGIN:VTIMEZONE TZID:/softwarestudio.org/Olson_20011030_5/America/San_Francisco X-LIC-LOCATION:America/Los_Angeles BEGIN:STANDARD TZOFFSETFROM:-0700 TZOFFSETTO:-0800 TZNAME:PST DTSTART:19701025T020000 RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:-0800 TZOFFSETTO:-0700 TZNAME:PDT DTSTART:19700405T020000 RRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU END:DAYLIGHT END:VTIMEZONE There would typically be several such definitions. Q: How do I add such time zoned events using the C# API, either with my own named time zone definition (as above), or using pre-defined-by-Google time zone definition please? Example file with one time zone: http://lef.csc.com/events/listings/study_tours/15_10_06/CSCLEF20061015ST.ics Example file with multiple time zones: http://lef.csc.com/events/listings/CSCLEFEvents.ics John Walton |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Efficiently Deleteng All Events in a Calendar: 00283, Frank Mantek |
|---|---|
| Next by Date: | Re: How do I add an event with named and defined time zone?: 00283, Philipp Kewisch |
| Previous by Thread: | Custom Fieldsi: 00283, ny100k@xxxxxxxxx |
| Next by Thread: | Re: How do I add an event with named and defined time zone?: 00283, Philipp Kewisch |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |