Stephane Bailliez <[EMAIL PROTECTED]> writes:

> A date format must be based on the user locale as well so I think it might
> be good to introduce additional methods to date... however how do we
> retrieve the date ?
> getDate() returns the default date based on the default locale.
> getDate(String locale) returns the date based on the specified iso code
> getDate(RunData data) returns the date based on the accept-language.
> 
> If you don't do that, you will have this:
> 
> Today is August 24, 2001 and it is 11:40:08 AM CEST
> Nous sommes le August 24, 2001. Il est 11:40:08 AM CEST
> 
> This applies to other "localizable" data as well and can quickly cripple the
> interface.
> So i'm wondering if there is not a better way.

Won't localizing the date passed into getString() via the Collections
parameter handle that sort of localization for you?

Reply via email to