]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/i18n/reldtfmt.h
ICU-66108.tar.gz
[apple/icu.git] / icuSources / i18n / reldtfmt.h
index ca332e08e3e9df791da02d8603ad69bd018c4faf..e914fab6bc2a2a3a4273b862ec352af77803835a 100644 (file)
@@ -71,7 +71,7 @@ public:
      * @return    A copy of the object.
      * @internal ICU 3.8
      */
-    virtual Format* clone(void) const;
+    virtual RelativeDateFormat* clone() const;
 
     /**
      * Return true if the given Format objects are semantically equal. Objects
@@ -235,7 +235,6 @@ public:
      */
     virtual const DateFormatSymbols* getDateFormatSymbols(void) const;
 
-    /* Cannot use #ifndef U_HIDE_DRAFT_API for the following draft method since it is virtual */
     /**
      * Set a particular UDisplayContext value in the formatter, such as
      * UDISPCTX_CAPITALIZATION_FOR_STANDALONE. Note: For getContext, see