• 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: SimpleDateFormat vs [Deprecated] NSTimestampFormatter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SimpleDateFormat vs [Deprecated] NSTimestampFormatter


  • Subject: Re: SimpleDateFormat vs [Deprecated] NSTimestampFormatter
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 9 Mar 2009 12:23:11 -0700


On Mar 9, 2009, at 12:17 PM, Mike Schrag wrote:

Wonder: ERXTimestampFormatter.dateFormatterForPattern( pattern )
I am moving my code away from using date format strings in the format bindings in my .wod and looking up old email threads about the deprecation of NSTimestampFormatter. This class suggested by Kieran returns an NSTimestampFormatter. Can I safely continue to use NSTimestampFormatter for now or am I missing a WOnder alternative that uses Pierre's recommendation of SimpleDateFormat?
I am still using NSTimestampFormatter. SimpleDateFormat uses a different set of formatting symbols, so you can't just drop one in in place of the other. I have considered making a SimpleDateFormat subclass that understands NSTimestampFormatter symbols. So far... don't hold your breath.
i kick myself that i wrote one of these last year and tossed thinking nobody would end up using it ... i don't remember what logic i used to get to that place, but it seems faulty in hindsight :)


I will be happy to kick you at WWDC this year!  :-P


-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: SimpleDateFormat vs [Deprecated] NSTimestampFormatter (From: David Holt <email@hidden>)
 >Re: SimpleDateFormat vs [Deprecated] NSTimestampFormatter (From: Chuck Hill <email@hidden>)
 >Re: SimpleDateFormat vs [Deprecated] NSTimestampFormatter (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: Digging up a Session object from an EOGenericRecord
  • Next by Date: Re: Memory Management
  • Previous by thread: Re: SimpleDateFormat vs [Deprecated] NSTimestampFormatter
  • Next by thread: Using Ant to Minify Javascript and CSS
  • Index(es):
    • Date
    • Thread