participate


Internationalization (I18N) - How dose Java handle Locales for which there is not FormatData impl.
This question is not answered.

<<   Back to Forum  |   Give us Feedback
This topic has 1 reply on 1 page.
FKAMattHHDE
Posts:43
Registered: 9/17/03
How dose Java handle Locales for which there is not FormatData impl.   
Sep 8, 2009 8:46 AM
 
 
Hi

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?

Thanks
 
shashi_rajak
Posts:217
Registered: 11/12/08
Re: How dose Java handle Locales for which there is not FormatData impl.   
Oct 8, 2009 8:42 AM (reply 1 of 1)  (In reply to original post )
 
 
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 . for more detail read the api.

Edited by: shashi_rajak on 8 Oct, 2009 9:11 PM
 
This topic has 1 reply on 1 page.
Back to Forum
 
Read the Developer Forums Code of Conduct

Click to email this message Email this Topic

Edit this Topic
  
 
 
Forums Statistics
    Users Online : 29
  • Guests : 131

About Sun forums
  • Sun Forums is a large collection of user generated discussions. It is here to help you ask questions, find answers, and participate in discussions.

    Check out our guide on Getting started with Sun Forums for a full walkthrough of how to best leverage the benefits of this community.

Powered by Jive Forums