Getting time zone period info?
Getting time zone period info?
- Subject: Getting time zone period info?
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 3 Jan 2007 20:31:41 -0700
Short of writing my own TZ database parser, how do I figure out
information on time zone periods, e.g. when they begin and end,
whether or not they are standard or daylight savings time, their
distance from GMT, etc.?
I'm trying to figure out when, given an NSDate, the current time zone
period began, and when the next one will begin (if applicable). I see
that CFTimeZoneRef keeps track of periods internally, but there
doesn't seem to be any way to access that period information
programmatically, and polling -[NSTimeZone
isDaylightSavingsTimeForDate:] is going to be terribly wasteful.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden