]> granicus.if.org Git - icu/commitdiff
ICU-7376 make C++ Locale::setKeywordValue() (#7252) public
authorMarkus Scherer <markus.icu@gmail.com>
Mon, 13 Feb 2012 19:20:43 +0000 (19:20 +0000)
committerMarkus Scherer <markus.icu@gmail.com>
Mon, 13 Feb 2012 19:20:43 +0000 (19:20 +0000)
X-SVN-Rev: 31377

icu4c/source/common/unicode/locid.h

index 60c530faf111dd4887999664cb7dc6307778f85c..82ca21bd33e9efc17bf6de301b49a516f90d58d9 100644 (file)
@@ -1,7 +1,7 @@
 /*
 ******************************************************************************
 *
-*   Copyright (C) 1996-2011, International Business Machines
+*   Copyright (C) 1996-2012, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 *
 ******************************************************************************
@@ -437,7 +437,7 @@ public:
     StringEnumeration * createKeywords(UErrorCode &status) const;
 
     /**
-     * Get the value for a keyword.
+     * Gets the value for a keyword.
      *
      * @param keywordName name of the keyword for which we want the value. Case insensitive.
      * @param buffer The buffer to receive the keyword value.
@@ -449,9 +449,9 @@ public:
      */
     int32_t getKeywordValue(const char* keywordName, char *buffer, int32_t bufferCapacity, UErrorCode &status) const;
 
-#ifndef U_HIDE_INTERNAL_API
+#ifndef U_HIDE_DRAFT_API
     /**
-     * Set the value for a keyword.
+     * Sets the value for a keyword.
      *
      * @param keywordName name of the keyword to be set. Case insensitive.
      * @param keywordValue value of the keyword to be set. If 0-length or
@@ -459,10 +459,10 @@ public:
      *  that keyword does not exist.
      * @param status Returns any error information while performing this operation.
      *
-     * @internal 
+     * @draft ICU 49
      */
     void setKeywordValue(const char* keywordName, const char* keywordValue, UErrorCode &status);
-#endif  /* U_HIDE_INTERNAL_API */
+#endif  /* U_HIDE_DRAFT_API */
 
     /**
      * returns the locale's three-letter language code, as specified