Two questions about NSCalendar
Two questions about NSCalendar
- Subject: Two questions about NSCalendar
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 18 Jan 2006 17:44:32 -0700
So I'm reading through the documentation on NSCalendar, and there's
two things I don't understand, and I couldn't find mentioned in the
archives:
1. How do I get the number of eras in a calendar? I see how to get
the number of months in a year, days in a month, etc. but I see no
way of getting the number of eras in a calendar.
2. How do I get the human-readable names of months, weekdays, and
eras for a given calendar type (e.g. month 9 is "September" on the
Gregorian calendar and "Ramadan" on the Islamic calendar)? If there
is no way of doing this, then how does the International preference
pane pull this off?
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