0

Datebox and Locale

asked 2008-07-07 09:24:26 +0800

enixser gravatar image enixser
185 3

Hi,

is there a way to enforce the formatting of a datebox with a particluar Locale? I have a datebox with the format dd-MMM-yyyy. One user has to enter a date in this way 06-Dec-2008 (Locale.US) and another in that way 06-Dez-2008 (Locale.GERMAN). But my boss does not want this locale dependant behavior. It should always use the Locale.US. How can this be done?

Best regards,
Ralf.

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2008-07-07 10:29:55 +0800

dennis gravatar image dennis
3679 1 6
http://www.javaworld.com....

please read the internationalization chapter in developer's guide

/Dennis

link publish delete flag offensive edit

answered 2008-07-07 12:29:46 +0800

enixser gravatar image enixser
185 3

Thanks a lot! Works fine.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2008-07-07 09:24:26 +0800

Seen: 174 times

Last updated: Jul 07 '08

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More