Re: SimpleDateFormat vs [Deprecated] NSTimestampFormatter
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