• 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: Formatting numbers, currency, and dates based on locale
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Formatting numbers, currency, and dates based on locale


  • Subject: Re: Formatting numbers, currency, and dates based on locale
  • From: Isaac Sherman <email@hidden>
  • Date: Sun, 05 May 2002 14:23:55 -0400

on 5/5/02 11:32 AM, the method -(id)email@hidden:(id) sender:@"Scot
Gellock"; returned:

> Good morning.
>
> In OS X's System Prefs, the International panel contains the locale settings
> for numbers, dates, and time. Does Cocoa have a formatting routine for
> numbers and dates that will take into account these various locale settings?
>
> I would like to display numbers, currency, and dates formatted in accordance
> with the machine's International settings.
>
>
> Regards,
>
>
>
> Scot

I'd look at NSUserDefaults. It looks like it does exactly what you're
looking for.

HTH,

--
Isaac Sherman
MotaSoft Software
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Formatting numbers, currency, and dates based on locale
      • From: Ondra Cada <email@hidden>
References: 
 >Formatting numbers, currency, and dates based on locale (From: Scot Gellock <email@hidden>)

  • Prev by Date: Re: Using a subclassed NSMatrix with NSBrowser
  • Next by Date: Drag & Drop: Finder to TableView
  • Previous by thread: Formatting numbers, currency, and dates based on locale
  • Next by thread: Re: Formatting numbers, currency, and dates based on locale
  • Index(es):
    • Date
    • Thread