• 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
Re: locations of DST information
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: locations of DST information


  • Subject: Re: locations of DST information
  • From: Pascal Robert <email@hidden>
  • Date: Mon, 28 Jan 2008 15:29:52 -0500


Le 08-01-28 à 13:56, Mr. Pierre Frisch a écrit :

Thanks, but I think it would be going backwards. The current NSTimestampFormatter is already a thin layer on top of SimpleDateFormat using NSTimeZone instead of TimeZone with some bizarre adjustments to make it behave like the ObjC formatter. Some of the format characters are just ignored as they do not have a correspondent in SimpleDateFormat. The next version of WebObjects will not use NSTimestampFormatter internally. You can write a translator but you are going to incur a performance penalty for very little gain. Don't forget that you should not cache format as they are not re-entrant.

Most WO developer do not embed their format string in every component anyway it is way too cumbersome when the customer invariably ask for a change, we all push them in cover methods in WOComponent so moving away from the old format should not be that difficult.

elvis:~/Migration/ConteneurCVS probert$ find . -name '*.wod' -exec grep "dateformat" {} \; | wc -l
1348



Cheers

Pierre
--
Pierre Frisch
email@hidden


On Jan 28, 2008, at 9:30, Mike Schrag wrote:

I mean for Pierre, inside WO, or Wonder with a class replacement if it ends up going away completely ...

ms

On Jan 28, 2008, at 12:18 PM, Anjo Krank wrote:

Not really. You'd need to get it plugged into the system, see if it works with all the components and so on. So this is not an hour or two of work.

Cheers, Anjo

Am 28.01.2008 um 18:05 schrieb Mike Schrag:

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.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com


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
  • Follow-Ups:
    • Re: locations of DST information
      • From: Anjo Krank <email@hidden>
References: 
 >Re: locations of DST information (From: Lachlan Deck <email@hidden>)
 >Re: locations of DST information (From: Art Isbell <email@hidden>)
 >Re: locations of DST information (From: Lachlan Deck <email@hidden>)
 >Re: locations of DST information (From: Lachlan Deck <email@hidden>)
 >Re: locations of DST information (From: "Mr. Pierre Frisch" <email@hidden>)
 >Re: locations of DST information (From: Anjo Krank <email@hidden>)
 >Re: locations of DST information (From: Simon McLean <email@hidden>)
 >Re: locations of DST information (From: Mike Schrag <email@hidden>)
 >Re: locations of DST information (From: Anjo Krank <email@hidden>)
 >Re: locations of DST information (From: Mike Schrag <email@hidden>)
 >Re: locations of DST information (From: "Mr. Pierre Frisch" <email@hidden>)

  • Prev by Date: Re: Problems with Stale Data
  • Next by Date: Re: locations of DST information
  • Previous by thread: Re: locations of DST information
  • Next by thread: Re: locations of DST information
  • Index(es):
    • Date
    • Thread