String pattern = (String)localizedPatterns.get(locale);
if (pattern != null)
decimalFormat.applyLocalizedPattern(pattern);
else if (nonLocalizedPattern != null)
decimalFormat.applyPattern(nonLocalizedPattern);
return decimalFormat;
}
public void setVariant(int variant) {