ICU-13662 Minor fixes after r41365.

X-SVN-Rev: 41366
This commit is contained in:
Shane Carr 2018-05-09 02:04:21 +00:00
parent fb94a3eb76
commit 3eb414943e
2 changed files with 5 additions and 4 deletions

View File

@ -787,6 +787,7 @@ void FormattedNumber::populateFieldPosition(FieldPosition& fieldPosition, UError
return;
}
// in case any users were depending on the old behavior:
fieldPosition.setBeginIndex(0);
fieldPosition.setEndIndex(0);
fResults->string.nextFieldPosition(fieldPosition, status);
}

View File

@ -1791,12 +1791,12 @@ class U_I18N_API NumberFormatterSettings {
* numbering system.
*
* <p>
* <strong>Note:</strong> Calling this method will override any previously specified DecimalFormatSymbols
* or NumberingSystem.
* <strong>Note:</strong> The instance of DecimalFormatSymbols will be copied: changes made to the symbols object
* after passing it into the fluent chain will not be seen.
*
* <p>
* <strong>Note:</strong> Calling this method will override the NumberingSystem previously specified in
* {@link #symbols(NumberingSystem)}.
* <strong>Note:</strong> Calling this method will override any previously specified DecimalFormatSymbols
* or NumberingSystem.
*
* <p>
* The default is to choose the symbols based on the locale specified in the fluent chain.