• 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: Mike Schrag <email@hidden>
  • Date: Mon, 9 Mar 2009 15:17:40 -0400

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 :)

ms

_______________________________________________
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


  • Follow-Ups:
    • Re: SimpleDateFormat vs [Deprecated] NSTimestampFormatter
      • From: Chuck Hill <email@hidden>
References: 
 >Re: SimpleDateFormat vs [Deprecated] NSTimestampFormatter (From: David Holt <email@hidden>)
 >Re: SimpleDateFormat vs [Deprecated] NSTimestampFormatter (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: ant build problem
  • Next by Date: Re: Digging up a Session object from an EOGenericRecord
  • Previous by thread: Re: SimpleDateFormat vs [Deprecated] NSTimestampFormatter
  • Next by thread: Re: SimpleDateFormat vs [Deprecated] NSTimestampFormatter
  • Index(es):
    • Date
    • Thread