]> granicus.if.org Git - icu/commitdiff
ICU-21480 Change ICU 64 draft readResolve APIs to @internal
authorCraig Cornelius <cwcornelius@gmail.com>
Wed, 10 Mar 2021 21:05:54 +0000 (21:05 +0000)
committerCraig Cornelius <cwcornelius@gmail.com>
Thu, 11 Mar 2021 04:23:23 +0000 (20:23 -0800)
See #1637

icu4j/main/classes/core/src/com/ibm/icu/text/DateIntervalFormat.java
icu4j/main/classes/core/src/com/ibm/icu/text/ListFormatter.java
icu4j/main/classes/core/src/com/ibm/icu/text/RelativeDateTimeFormatter.java

index f4179217e3a53081c6a3ef85d674a5fedb20be4e..661fc790b80f6fcf3ea3a77be2c8ba3389aa43ad 100644 (file)
@@ -377,8 +377,10 @@ public class DateIntervalFormat extends UFormat {
         /**
          * serialization method resolve instances to the constant
          * DateIntervalFormat.SpanField values
-         * @draft ICU 64
+         * @internal
+         * @deprecated This API is ICU internal only.
          */
+        @Deprecated
         @Override
         protected Object readResolve() throws InvalidObjectException {
             if (this.getName().equals(DATE_INTERVAL_SPAN.getName()))
index fee273c82e246ab551837686e9203655f8f0688d..6dfe743ef1c8a17e52f8dd571eac5253ad362c4e 100644 (file)
@@ -171,8 +171,10 @@ final public class ListFormatter {
         /**
          * Serialization method resolve instances to the constant Field values
          *
-         * @draft ICU 64
+         * @internal
+         * @deprecated This API is ICU internal only.
          */
+        @Deprecated
         @Override
         protected Object readResolve() throws InvalidObjectException {
             if (this.getName().equals(LITERAL.getName()))
index 2a8b831989e9f1a50c479a4453c8d81b3c325329..88ce0a477b96f9db20f3317052ee7dcc8ff4aeae 100644 (file)
@@ -437,8 +437,10 @@ public final class RelativeDateTimeFormatter {
         /**
          * Serizalization method resolve instances to the constant Field values
          *
-         * @draft ICU 64
+         * @internal
+         * @deprecated This API is ICU internal only.
          */
+        @Deprecated
         @Override
         protected Object readResolve() throws InvalidObjectException {
             if (this.getName().equals(LITERAL.getName()))