Re: Two questions about NSCalendar
Re: Two questions about NSCalendar
- Subject: Re: Two questions about NSCalendar
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 19 Jan 2006 20:02:06 -0700
On Jan 19, 2006, at 5:38 PM, Chris Kane wrote:
Though, since we eventually added -setLocale: to NSCalendar (before
Tiger shipped), NSCalendar could have a redundant set of methods to
answer the questions. However, in some locales or languages the
proper form of the month name depends on the context in which it is
used, and that's more the purview of a formatter.
I was thinking more about weekday names. Then I performed a thought
experiment today and found that, no matter what calendar is in use,
NSDateFormatter always uses the Gregorian (localized) names of the
weekdays. For example, weekday 6 is "Friday" on the Gregorian
calendar and "Yaum al-Jum`a" on the Islamic calendar, but
NSDateFormatter always uses "Friday" as the weekday name even if the
Islamic calendar is in use. Why doesn't it return the correct weekday
names for different calendar types?
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden