]> granicus.if.org Git - icu/commitdiff
ICU-8428 do not use @deprecated in internal headers
authorMarkus Scherer <markus.icu@gmail.com>
Sat, 14 May 2011 00:06:45 +0000 (00:06 +0000)
committerMarkus Scherer <markus.icu@gmail.com>
Sat, 14 May 2011 00:06:45 +0000 (00:06 +0000)
X-SVN-Rev: 30114

icu4c/source/common/uresimp.h
icu4c/source/i18n/vzone.h

index fdae4868c14dde0e8d37673f87785c4edd9f4c8f..edb1a9f1320074f5b0c40e169c77ac27fa8ec8ae 100644 (file)
@@ -1,6 +1,6 @@
 /*
 **********************************************************************
-*   Copyright (C) 2000-2010, International Business Machines
+*   Copyright (C) 2000-2011, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 **********************************************************************
 */
@@ -262,10 +262,12 @@ ures_getVersionNumberInternal(const UResourceBundle *resourceBundle);
  * For subresources, the locale where this resource comes from will be returned.
  * If fallback has occured, getLocale will reflect this.
  *
+ * This internal version avoids deprecated-warnings in ICU code.
+ *
  * @param resourceBundle resource bundle in question
  * @param status just for catching illegal arguments
  * @return  A Locale name
- * @deprecated ICU 2.8 Use ures_getLocaleByType instead.
+ * @internal
  */
 U_INTERNAL const char* U_EXPORT2 
 ures_getLocaleInternal(const UResourceBundle* resourceBundle, 
index c81413cae0fa3f5171bc46e4e7e64f3f3af07322..733e2d57ecd9d497f27d93418a09c16fc18b38f4 100644 (file)
@@ -1,7 +1,7 @@
 /*
 *******************************************************************************
-* Copyright (C) 2009-2010, International Business Machines Corporation and         *
-* others. All Rights Reserved.                                                *
+* Copyright (C) 2009-2011, International Business Machines Corporation and
+* others. All Rights Reserved.
 *******************************************************************************
 */
 
@@ -298,9 +298,9 @@ vzone_useDaylightTime(VZone* zone);
  * @param status Output param filled in with success/error code.
  * @return true if the given date is in daylight savings time,
  * false, otherwise.
- * @deprecated ICU 2.4. Use Calendar::inDaylightTime() instead.
+ * @internal ICU 2.4. Use Calendar::inDaylightTime() instead.
  */
-U_DRAFT UBool U_EXPORT2
+U_INTERNAL UBool U_EXPORT2
 vzone_inDaylightTime(VZone* zone, UDate date, UErrorCode& status);
 
 /**