• 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
Safely removing elements from NSDateFormatter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Safely removing elements from NSDateFormatter


  • Subject: Safely removing elements from NSDateFormatter
  • From: Nick Zitzmann <email@hidden>
  • Date: Mon, 25 Sep 2006 20:08:06 -0600

Has anyone ever come up with a foolproof method of removing certain elements from a Tiger-style NSDateFormatter that does not remove essential characters to interpreting the output? If so, then how did you do this?

For example, if given a full style NSDateFormatter, I'd like to remove the day from the formatter and any characters associated with the day (e.g. the comma immediately following the day in the US date format, or the day character in the Chinese date format), but without causing any collateral damage by removing unrelated characters (e.g. the month character in the Chinese date format, or other misc. characters in the user's date format).

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
  • Prev by Date: Re: How to implement an Xcode-style hierarchical file browser
  • Next by Date: Refeshing Issues in Core Data
  • Previous by thread: ANN: Pantomime 1.2.0pre2
  • Next by thread: Refeshing Issues in Core Data
  • Index(es):
    • Date
    • Thread