]> granicus.if.org Git - icu/commitdiff
ICU-8583 make ICU4J parseCurrency methods public @internal
authorPeter Edberg <pedberg@unicode.org>
Tue, 12 Jul 2011 03:33:00 +0000 (03:33 +0000)
committerPeter Edberg <pedberg@unicode.org>
Tue, 12 Jul 2011 03:33:00 +0000 (03:33 +0000)
X-SVN-Rev: 30314

icu4j/main/classes/core/src/com/ibm/icu/text/DecimalFormat.java
icu4j/main/classes/core/src/com/ibm/icu/text/NumberFormat.java

index 81d95301b0df7c3bf89ba12ac14363209b1577e3..2e56bb677398cb594cccab6f763c150cf612393b 100644 (file)
@@ -1651,8 +1651,9 @@ public class DecimalFormat extends NumberFormat {
      *  have 0 <= pos.getIndex() < text.length(); on output, the position after the last
      *  matched character. If the parse fails, the position in unchanged upon output.
      * @return a CurrencyAmount, or null upon failure
+     * @internal
      */
-    CurrencyAmount parseCurrency(String text, ParsePosition pos) {
+    public CurrencyAmount parseCurrency(String text, ParsePosition pos) {
         return (CurrencyAmount) parse(text, pos, true);
     }
 
index b9da9d3ef7f163bcbad6e94eaa4c35f6061db1ae..ac08416c98c83634cb9b71d5e5509d4b21e77a48 100644 (file)
@@ -429,8 +429,9 @@ public abstract class NumberFormat extends UFormat {
      * on output, the position after the last matched character. If
      * the parse fails, the position in unchanged upon output.
      * @return a CurrencyAmount, or null upon failure
+     * @internal
      */
-    CurrencyAmount parseCurrency(String text, ParsePosition pos) {
+    public CurrencyAmount parseCurrency(String text, ParsePosition pos) {
         ///CLOVER:OFF
         // Default implementation only -- subclasses should override
         Number n = parse(text, pos);