I did find myself still using NSCalendarDate because I wanted its -
dayOfYear method. I wasn't worried about localization because my
application is used by exactly one user in the middle of a cornfield
in SW Michigan. But if someone knows, what is the way to get this
with NSCalendar? I found
I am sympathetic to using NSCalendar. At his Boot Camp, Aaron told me
that NSCalendarDate was falling out of favor because it's not a good
player regarding calendars other than Gregorian. I understand this.
However, the documentation really doesn't provide any direction as to
this for a new
Please don't use NSCalendarDate, as it only supports the Gregorian
calendar. Please use NSCalendar instead, unless you still need to run
on 10.3.x.
Deborah Goldsmith
Apple Inc.
[EMAIL PROTECTED]
On Feb 25, 2008, at 11:39 AM, Nir Soffer wrote:
On Feb 25, 2008, at 21:27, Randall Meadows wro
On Feb 25, 2008, at 21:27, Randall Meadows wrote:
Given a specific NSDate, I need to be able to find, say, the Sunday
before that date, or the Saturday after that date. I was hoping to
be able to use +dateWithNaturalLanguage with something like "Sunday
before [myDate description]", but th
On Feb 25, 2008, at 12:27 PM, Randall Meadows wrote:
Given a specific NSDate, I need to be able to find, say, the Sunday
before that date, or the Saturday after that date. I was hoping to
be able to use +dateWithNaturalLanguage with something like "Sunday
before [myDate description]", but
Given a specific NSDate, I need to be able to find, say, the Sunday
before that date, or the Saturday after that date. I was hoping to be
able to use +dateWithNaturalLanguage with something like "Sunday
before [myDate description]", but that just returns myDate.
I know I can brute-force it