From a55516c58f409fddd995c46e7ef22b30eb80de59 Mon Sep 17 00:00:00 2001 From: Yoshito Umaoka Date: Mon, 18 Jul 2016 18:19:11 +0000 Subject: [PATCH] ICU-12047 Added a note in SimpleDateFormat::toLocalizedPattern() API doc in ICU4C. X-SVN-Rev: 38976 --- icu4c/source/i18n/unicode/smpdtfmt.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/icu4c/source/i18n/unicode/smpdtfmt.h b/icu4c/source/i18n/unicode/smpdtfmt.h index 1bf8770a2a..39547bd70a 100644 --- a/icu4c/source/i18n/unicode/smpdtfmt.h +++ b/icu4c/source/i18n/unicode/smpdtfmt.h @@ -1001,6 +1001,12 @@ public: * (Presumably, letters that would be more mnemonic in that locale's * language.) This function would produce a pattern using those * letters. + *

+ * Note: This implementation depends on DateFormatSymbols::getLocalPatternChars() + * to get localized format pattern characters. ICU does not include + * localized pattern character data, therefore, unless user sets localized + * pattern characters manually, this method returns a same result with + * toPattern(). * * @param result Receives the localized pattern. * @param status Output param set to success/failure code on