views:

23

answers:

0

Is there a way to have my DateFormatProvider take precedence over the existing locales in Java? I have to do some custom formatting for the locale da_DK, and I would like to get these DateFormats by simply using DateFormat.getDateInstance(int, Locale).

But it seems that if a Locale already exists in Java, it doesn't care that i register my own provider in the manner specified in the Java documentation.