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:
Markus Scherer 2000-05-24 22:44:14 +00:00
parent 93ee508e8e
commit 2ceca5876b

View File

@ -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;
}
/**