ICU-3668 make getRoundingMode const

X-SVN-Rev: 14810
This commit is contained in:
Alan Liu 2004-03-31 22:09:40 +00:00
parent 136d953613
commit 1950e4123f
2 changed files with 2 additions and 2 deletions

View File

@ -2016,7 +2016,7 @@ void DecimalFormat::setRoundingIncrement(double newValue) {
* @see #getRoundingIncrement * @see #getRoundingIncrement
* @see #setRoundingMode * @see #setRoundingMode
*/ */
DecimalFormat::ERoundingMode DecimalFormat::getRoundingMode() { DecimalFormat::ERoundingMode DecimalFormat::getRoundingMode() const {
return fRoundingMode; return fRoundingMode;
} }

View File

@ -1029,7 +1029,7 @@ public:
* @see #setRoundingMode * @see #setRoundingMode
* @stable ICU 2.0 * @stable ICU 2.0
*/ */
virtual ERoundingMode getRoundingMode(void); virtual ERoundingMode getRoundingMode(void) const;
/** /**
* Set the rounding mode. This has no effect unless the rounding * Set the rounding mode. This has no effect unless the rounding