• 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
Re: How to access stand-alone month name with NSDateFormatter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to access stand-alone month name with NSDateFormatter


  • Subject: Re: How to access stand-alone month name with NSDateFormatter
  • From: Chris Kane <email@hidden>
  • Date: Fri, 26 Aug 2005 15:19:44 -0700

There is no API to access the standalone month names. There is no C API in Tiger ICU library either. Those things that are using it are doing some sort of nasty groping of the ICU underlying data store. The Date & Time prefs pane, for example, is NSDatePicker in AppKit.

ICU 3.4 adds the API to return/use those things, and CF/ NSDateFormatter are getting updated to use them. But that's the future.


Chris Kane Cocoa Frameworks, Apple

On Aug 26, 2005, at 11:34 AM, Dary Mihova wrote:

I have a text field and I want to to show the current month name. It seems an easy task at first - attach a NSDateFormatter, set its dateFormat to "%B" or "MMMM" and you're done. But...

Some languages use two grammar forms of month names (Russian, Polish, Greek...). Latest ICU version (integrated in Tiger) supports this. For example Date & Time pref pane uses the stand- alone month name.

My question is does anyone know how to access the stand alone month name (if it's possible of course)? I read the recently updated docs for data formatting but couldn't find any info about this.

Thanks,
Dary

_______________________________________________
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


_______________________________________________ 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
References: 
 >How to access stand-alone month name with NSDateFormatter (From: Dary Mihova <email@hidden>)

  • Prev by Date: Re: How to access stand-alone month name with NSDateFormatter
  • Next by Date: Setting NSToolbarItem label when in text only mode
  • Previous by thread: Re: How to access stand-alone month name with NSDateFormatter
  • Next by thread: NSTokenField
  • Index(es):
    • Date
    • Thread