• 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: Ryan Britton <email@hidden>
  • Date: Fri, 26 Aug 2005 12:11:44 -0700

This may be what you're looking for...

http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ ObjC_classic/Classes/NSUserDefaults.html#//apple_ref/doc/c_ref/ NSMonthNameArray

NSUserDefaults provides a key that'll return a localized month name array.

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

  • Prev by Date: NSTokenField
  • Next by Date: Re: what happend of the .hidden file in Tiger?
  • Previous by thread: How to access stand-alone month name with NSDateFormatter
  • Next by thread: Re: How to access stand-alone month name with NSDateFormatter
  • Index(es):
    • Date
    • Thread