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

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

  • Follow-Ups:
    • Re: SimpleDateFormat vs [Deprecated] NSTimestampFormatter
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: WOXMLDecoder and NSData
  • Next by Date: Re: SimpleDateFormat vs [Deprecated] NSTimestampFormatter
  • Previous by thread: Re: WOXMLDecoder and NSData
  • Next by thread: Re: SimpleDateFormat vs [Deprecated] NSTimestampFormatter
  • Index(es):
    • Date
    • Thread