aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2009-11-24 09:22:44 -0800
committerJean-Baptiste Queru <jbq@google.com>2009-11-24 09:22:44 -0800
commit5b8ad7ccc01f3e3bfc90438423eb50bec66e0f8f (patch)
treeb196db83ddfd6d6f07d027a25c665d472cd33a92
parentb58c70f2ddfb64c5246242aa1e6f41de92f75f34 (diff)
parent968aedb1803c079058f2b2764be043e8f5bb8a1e (diff)
downloadicu4c-5b8ad7ccc01f3e3bfc90438423eb50bec66e0f8f.tar.gz
merge from open-source master
-rw-r--r--i18n/digitlst.h18
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;
};