Oracle Community Directory
Oracle Community FAQ
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
on Oct 8, 2009 3:42 PM by 843810
How dose Java handle Locales for which there is not FormatData impl.
Sep 8, 2009 3:46 PM
if no FormatData class is available for a locale, what does Java do. For example:
I create a Local with
Locale loc = new Locale("de", "BE"); //German, Belgium
Unfortunately, for Belgium only French and Dutch is available. So how does Java format Date/Time and Numbers? What are the rules?
This content has been marked as final.
Show 1 reply
Re: How dose Java handle Locales for which there is not FormatData impl.
Oct 8, 2009 3:42 PM
in response to
Note: When you ask for a resource for a particular locale, you get back the best available match, not necessarily precisely what you asked for. For more information, look at ResourceBundle.
Above text is from the link [http://java.sun.com/javase/6/docs/api/java/util/Locale.html|http://java.sun.com/javase/6/docs/api/java/util/Locale.html] . for more detail read the api.
Edited by: shashi_rajak on 8 Oct, 2009 9:11 PM