• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Two questions about NSCalendar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Two questions about NSCalendar
      • From: Chris Kane <email@hidden>
    • Re: Two questions about NSCalendar
      • From: Seth Willits <email@hidden>
  • Prev by Date: NSView Embedded in Dashboard Widget
  • Next by Date: CoreData and NSPasteboard for
  • Previous by thread: Re: NSView Embedded in Dashboard Widget
  • Next by thread: Re: Two questions about NSCalendar
  • Index(es):
    • Date
    • Thread