SimpleDateFormat vs [Deprecated] NSTimestampFormatter
SimpleDateFormat vs [Deprecated] NSTimestampFormatter
- Subject: SimpleDateFormat vs [Deprecated] NSTimestampFormatter
- From: "Gennady Kushnir" <email@hidden>
- Date: Wed, 9 Jul 2008 02:59:57 +0400
Hello list!
As mentioned in WO 5.4 documentation NSTimestampFormatter class is now
deprecated.
They recommend using java.text.SimpleDateFormat instead. Pattern
formats for NSTimestampFormatter and SimpleDateFormat a different.
But when binding WOString and WOTextFiend it still takes patterns for
dateFormat in old NSTimestampFormatter style.
I want to store and reuse some global setting for date format pattern.
But now I have to either use different patterns for WOD bindings and
programmatic use
or rely on deprecated NSTimestampFormatter and get warnings each time.
Gennady
_______________________________________________
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