Re: locations of DST information
Re: locations of DST information
- Subject: Re: locations of DST information
- From: Mike Schrag <email@hidden>
- Date: Mon, 28 Jan 2008 12:05:54 -0500
It should be really easy to write a new NSTimestampFormatter that just
converts old format to SimpleDateFormat format internally, right? So
NSTimestampFormatter could be deprecated but not gone. I actually
wrote this code last year but I think I ended up tossing it, and I
don't recall why. No idea where it ran off to, but it was maybe an
hours worth of code, and another that because you have to keep looking
back and forth between the two references. IIRC there were two
%things that didn't have an equivalent in SimpleDateFormat.
ms
On Jan 28, 2008, at 11:34 AM, Simon McLean wrote:
+1
On 28 Jan 2008, at 16:28, Anjo Krank wrote:
They provide a whole different set of format strings, so I wouldn't
exactly say they don't do anything the base classes don't. And
fixing a zillion components and code that uses these strings again
isn't really quite my idea of fun. So isn't it possible to make
them not rely on copies of the time zone info?
Cheers, Anjo
Am 28.01.2008 um 17:19 schrieb Mr. Pierre Frisch:
NSTimeZone and NSTimestampFormatter are deprecated because of
their reliance on internal copy of the time zone information. They
do not provide any services not provided by the base Java classes
TimeZone and SimpleDateFormat. Whether you are working with 5.3 or
5.4 please move out of those classes. To my knowledge 5.3 only
uses them for GMT time/date conversion which is safe, and I think
5.4 has no references to them.
The base Java classes rely on the time zone info embedded in the
Java VM which is regularly updated. If you need some really urgent
update there is a Sun tool to load the latest and greatest. For
more information see: http://docs.info.apple.com/article.html?artnum=305129
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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