Re: How to access stand-alone month name with NSDateFormatter
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