[sync-services-developers] Converting a VCal timezone object to an NSTimeZone

Brian M. Criscuolo bcriscuolo at markspace.com
Fri Oct 28 06:45:11 PDT 2005


I forgot to put this in my last email - a great sight for time zone  
information:

< http://www.timeanddate.com/worldclock/>

b

On Oct 27, 2005, at 5:55 PM, Jud Spencer wrote:

> Does anyone have any experience in constructing an NSTimeZone from  
> scratch?
> I don't see any way to do it. I need to be able to take a TimeZone
> specification from a Vcalendar and create an NSTimeZone from it.
>
> Example spec;
>
> BEGIN:VTIMEZONE
> TZID:Pacific Time (US &amp; Canada); Tijuana
> X-ENTOURAGE-TZID:1
> BEGIN:STANDARD
> DTSTART:20001029T020000
> RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10
> TZOFFSETFROM:-0700
> TZOFFSETTO:-0800
> TZNAME:Standard Time
> END:STANDARD
> BEGIN:DAYLIGHT
> DTSTART:20010401T020000
> RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=4
> TZOFFSETFROM:-0800
> TZOFFSETTO:-0700
> TZNAME:Daylight Savings Time
> END:DAYLIGHT
> END:VTIMEZONE
>
> Does anyone know if this is even possible?
>
> Thanks,
>
> Jud
>
>
> _______________________________________________
> sync-services-developers mailing list
> sync-services-developers at lists.markspace.com
> http://lists.markspace.com/mailman/listinfo/sync-services-developers


********************
Brian M. Criscuolo
Senior Software Engineer
Mark/Space, Inc.
bcriscuolo at markspace.com
<http://www.markspace.com>





More information about the sync-services-developers mailing list