On Jan 4, 2013, at 6:38 PM, Greg Parker <gpar...@apple.com> wrote:

>> Short question: Given a year, week-of-year, and weekday in that 
>> week-of-year, what is the most reliable way to get the NSDate for that day 
>> even when the week-of-year is week 1? This is calendrical grey area, because 
>> there may be two week 1s in a year.
> 
> Short answer: Use NSYearForWeekOfYearCalendarUnit.

Thanks, Kyle and Greg. That was what I needed.

Nick Zitzmann
<http://www.chronosnet.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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to