ICU-3668 make getRoundingMode const
X-SVN-Rev: 14810
This commit is contained in:
parent
136d953613
commit
1950e4123f
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user