diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2009-11-24 09:22:44 -0800 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2009-11-24 09:22:44 -0800 |
commit | 5b8ad7ccc01f3e3bfc90438423eb50bec66e0f8f (patch) | |
tree | b196db83ddfd6d6f07d027a25c665d472cd33a92 | |
parent | b58c70f2ddfb64c5246242aa1e6f41de92f75f34 (diff) | |
parent | 968aedb1803c079058f2b2764be043e8f5bb8a1e (diff) | |
download | icu4c-5b8ad7ccc01f3e3bfc90438423eb50bec66e0f8f.tar.gz |
merge from open-source master
-rw-r--r-- | i18n/digitlst.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/i18n/digitlst.h b/i18n/digitlst.h index 653bfe68..01b81738 100644 --- a/i18n/digitlst.h +++ b/i18n/digitlst.h @@ -205,6 +205,17 @@ public: // This code is unused. //UBool isLONG_MIN(void) const; + // BEGIN android-changed + // Public round() method for BigDecimal format. + // Revert this change after ICU4C supports BigDecimal. + /** + * Round the representation to the given number of digits. + * @param maximumDigits The maximum number of digits to be shown. + * Upon return, count will be less than or equal to maximumDigits. + */ + void round(int32_t maximumDigits); + // END android-changed + public: /** * These data members are intentionally public and can be set directly. @@ -244,13 +255,6 @@ private: int fBufferSize; // END android-changed - /** - * Round the representation to the given number of digits. - * @param maximumDigits The maximum number of digits to be shown. - * Upon return, count will be less than or equal to maximumDigits. - */ - void round(int32_t maximumDigits); - UBool shouldRoundUp(int32_t maximumDigits) const; }; |