Name: bb33257 Date: 03/25/98
Now that we have API to get and set the currency symbol, and
using the generic currency symbol in a DecimalFormat pattern
automatically causes the real currency symbol in
DecimalFormatSymbols to be substituted, we should change the
locale data files to use the generic currency symbol in their
patterns.
This has two benefits: 1) There will be more times when the
NumberPatterns resource doesn't have to be repeated across
related groups of locales because only the currency symbol, and
not the pattern using it, has changed. This cuts down the size
of the resources and eases the maintenance burden. 2) If we
have to change the currency symbol for a given country, we
don't have to remember to change it in three separate places to
make it "take" (one in the actual currency-symbol spot, and two
places in the currency format pattern). This eases the mainenance
burden and help to prevent errors.
======================================================================
- relates to
-
JDK-4373807 Currency format for hi_IN does not contain generic currency symbol:?? #,##0.00;-
-
- Closed
-