There is also [NSTimeZone nextDaylightSavingTimeTransition] and
[NSTimeZone nextDaylightSavingTimeTransitionAfterDate:], both
available in 10.5 or later.
Deborah Goldsmith
Apple Inc.
golds...@apple.com
On Apr 15, 2009, at 2:41 PM, Gregory Weston wrote:
Greg Robertson wrote:
Basically I would like to display records for a week duration but I
am
unsure how to handle daylight savings time. Is there a way to see if
daylight savings time has or will occur?
If you want to see whether a DST switch happens during a given
interval, just subtract the dates. If the NSTimeInterval doesn't
come out to some multiple of 24 hours, a switch happened.
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/goldsmit%40apple.com
This email sent to golds...@apple.com
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com