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