ICU-176 DecimalFormat API use UnicodeString pad char, not UChar (old: deprecated) - implementation needs to follow at a later time
X-SVN-Rev: 1485
This commit is contained in:
parent
93ee508e8e
commit
2ceca5876b
@ -1531,7 +1531,7 @@ void DecimalFormat::setFormatWidth(int32_t width) {
|
||||
* @see #getPadPosition
|
||||
* @see #setPadPosition
|
||||
*/
|
||||
UChar DecimalFormat::getPadCharacter() {
|
||||
UnicodeString DecimalFormat::getPadCharacterString() {
|
||||
return fPad;
|
||||
}
|
||||
|
||||
@ -1545,8 +1545,8 @@ UChar DecimalFormat::getPadCharacter() {
|
||||
* @see #getPadPosition
|
||||
* @see #setPadPosition
|
||||
*/
|
||||
void DecimalFormat::setPadCharacter(UChar padChar) {
|
||||
fPad = padChar;
|
||||
void DecimalFormat::setPadCharacter(UnicodeString padChar) {
|
||||
fPad = padChar.length() > 0 ? padChar.charAt(0) : kPatternPadEscape;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user