Re: locations of DST information
Re: locations of DST information
- Subject: Re: locations of DST information
- From: "Mr. Pierre Frisch" <email@hidden>
- Date: Mon, 28 Jan 2008 12:45:27 -0800
Actually I think the SimpleDateFormat format approach is better.
Synchronization can lead to some really strange performance issue.
Pierre
--
Pierre Frisch
email@hidden
On Jan 28, 2008, at 12:41, Chuck Hill wrote:
On Jan 28, 2008, at 11:50 AM, Mr. Pierre Frisch wrote:
None of the Java formats are re-entrant. NSTimestampFormatter is
synchronized which is probably why it is not a subclass of
SimpleDateFormat and that may cause other issues.
So that is another problem with just replacing NSTimestampFormatter
with SimpleDateFormat.
Chuck
Pierre
--
Pierre Frisch
email@hidden
On Jan 28, 2008, at 11:38, Chuck Hill wrote:
Don't forget that you should not cache format as they are not re-
entrant.
Is NSTimestampFormatter re-entrant? I have always created and
cached them at the Application level. The format is never changed
after creation. I have never noticed any problems under load. If
NSTimestampFormatter is re-entrant and SimpleDateFormat is not,
that is rather more of change.
--
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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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