]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/i18n/reldtfmt.h
ICU-57149.0.1.tar.gz
[apple/icu.git] / icuSources / i18n / reldtfmt.h
index dcc3ca895661af8b24ca730d229a4e2a8964007c..48c0f27ef4fb2578a280882e7fb410fb7e196b96 100644 (file)
@@ -325,8 +325,25 @@ public:
      * @internal ICU 3.8
      */
     virtual UClassID getDynamicClassID(void) const;
+
+    /**
+     * Apple addition
+     * This is for ICU internal use only. Please do not use.
+     * Get the capitalization break iterator of this relative date formatter.
+     * Should be cloned before using it.
+     * It is used in udat.
+     *
+     * @return   capitalization break iterator
+     * @internal
+     */
+    BreakIterator* getCapitalizationBrkIter(void) const;
 };
 
+inline BreakIterator*
+RelativeDateFormat::getCapitalizationBrkIter() const
+{
+    return fCapitalizationBrkIter;
+}
 
 U_NAMESPACE_END