]> granicus.if.org Git - icu/commitdiff
ICU-9960 The private/@internal versions of matchString,subParse added in r31186 shoul...
authorPeter Edberg <pedberg@unicode.org>
Tue, 3 Sep 2013 05:14:19 +0000 (05:14 +0000)
committerPeter Edberg <pedberg@unicode.org>
Tue, 3 Sep 2013 05:14:19 +0000 (05:14 +0000)
X-SVN-Rev: 34166

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

index a6a86d63b74c27f0d87ce1947627bf127df6fece..fa556f65c5d65dd392a53d13b57d69c941e69424 100644 (file)
@@ -2512,10 +2512,10 @@ public class SimpleDateFormat extends DateFormat {
      * number indicating matching failure, otherwise.  As a side effect,
      * sets the <code>cal</code> field <code>field</code> to the index
      * of the best match, if matching succeeded.
-     * @draft ICU 49
-     * @provisional This API might change or be removed in a future release.
+     * @internal
+     * @deprecated This API is ICU internal only.
      */
-    protected int matchString(String text, int start, int field, String[] data, String monthPattern, Calendar cal)
+    private int matchString(String text, int start, int field, String[] data, String monthPattern, Calendar cal)
     {
         int i = 0;
         int count = data.length;
@@ -2675,10 +2675,10 @@ public class SimpleDateFormat extends DateFormat {
      * number indicating matching failure, otherwise.  As a side effect,
      * set the appropriate field of <code>cal</code> with the parsed
      * value.
-     * @draft ICU 49
-     * @provisional This API might change or be removed in a future release.
+     * @internal
+     * @deprecated This API is ICU internal only.
      */
-    protected int subParse(String text, int start, char ch, int count,
+    private int subParse(String text, int start, char ch, int count,
                            boolean obeyCount, boolean allowNegative,
                            boolean[] ambiguousYear, Calendar cal, MessageFormat numericLeapMonthFormatter)
     {