[sync-services-developers] Converting a VCal timezone object to an
NSTimeZone
Jud Spencer
juds at letterrip.com
Thu Oct 27 14:55:53 PDT 2005
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 & 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
More information about the sync-services-developers
mailing list