| Index: source/common/unicode/uloc.h
|
| diff --git a/source/common/unicode/uloc.h b/source/common/unicode/uloc.h
|
| index c305c8b78c8a853b938d65d16a1e1296db7737bb..2da74e730c31920e95d6305823c8d50e1fdc9eb4 100644
|
| --- a/source/common/unicode/uloc.h
|
| +++ b/source/common/unicode/uloc.h
|
| @@ -1,6 +1,6 @@
|
| /*
|
| **********************************************************************
|
| -* Copyright (C) 1997-2014, International Business Machines
|
| +* Copyright (C) 1997-2015, International Business Machines
|
| * Corporation and others. All Rights Reserved.
|
| **********************************************************************
|
| *
|
| @@ -886,7 +886,6 @@ uloc_setKeywordValue(const char* keywordName,
|
| char* buffer, int32_t bufferCapacity,
|
| UErrorCode* status);
|
|
|
| -#ifndef U_HIDE_DRAFT_API
|
| /**
|
| * Returns whether the locale's script is written right-to-left.
|
| * If there is no script subtag, then the likely script is used, see uloc_addLikelySubtags().
|
| @@ -899,11 +898,10 @@ uloc_setKeywordValue(const char* keywordName,
|
| *
|
| * @param locale input locale ID
|
| * @return TRUE if the locale's script is written right-to-left
|
| - * @draft ICU 54
|
| + * @stable ICU 54
|
| */
|
| -U_DRAFT UBool U_EXPORT2
|
| +U_STABLE UBool U_EXPORT2
|
| uloc_isRightToLeft(const char *locale);
|
| -#endif /* U_HIDE_DRAFT_API */
|
|
|
| /**
|
| * enums for the return value for the character and line orientation
|
| @@ -1151,7 +1149,6 @@ uloc_toLanguageTag(const char* localeID,
|
| UBool strict,
|
| UErrorCode* err);
|
|
|
| -#ifndef U_HIDE_DRAFT_API
|
| /**
|
| * Converts the specified keyword (legacy key, or BCP 47 Unicode locale
|
| * extension key) to the equivalent BCP 47 Unicode locale extension key.
|
| @@ -1171,9 +1168,9 @@ uloc_toLanguageTag(const char* localeID,
|
| * mapped to a well-formed BCP 47 Unicode locale extension
|
| * key.
|
| * @see uloc_toLegacyKey
|
| - * @draft ICU 54
|
| + * @stable ICU 54
|
| */
|
| -U_DRAFT const char* U_EXPORT2
|
| +U_STABLE const char* U_EXPORT2
|
| uloc_toUnicodeLocaleKey(const char* keyword);
|
|
|
| /**
|
| @@ -1202,9 +1199,9 @@ uloc_toUnicodeLocaleKey(const char* keyword);
|
| * or NULL if the locale keyword value cannot be mapped to
|
| * a well-formed BCP 47 Unicode locale extension type.
|
| * @see uloc_toLegacyType
|
| - * @draft ICU 54
|
| + * @stable ICU 54
|
| */
|
| -U_DRAFT const char* U_EXPORT2
|
| +U_STABLE const char* U_EXPORT2
|
| uloc_toUnicodeLocaleType(const char* keyword, const char* value);
|
|
|
| /**
|
| @@ -1217,9 +1214,9 @@ uloc_toUnicodeLocaleType(const char* keyword, const char* value);
|
| * @return the well-formed legacy key, or NULL if the specified
|
| * keyword cannot be mapped to a well-formed legacy key.
|
| * @see toUnicodeLocaleKey
|
| - * @draft ICU 54
|
| + * @stable ICU 54
|
| */
|
| -U_DRAFT const char* U_EXPORT2
|
| +U_STABLE const char* U_EXPORT2
|
| uloc_toLegacyKey(const char* keyword);
|
|
|
| /**
|
| @@ -1246,11 +1243,9 @@ uloc_toLegacyKey(const char* keyword);
|
| * keyword value cannot be mapped to a well-formed legacy
|
| * type.
|
| * @see toUnicodeLocaleType
|
| - * @draft ICU 54
|
| + * @stable ICU 54
|
| */
|
| -U_DRAFT const char* U_EXPORT2
|
| +U_STABLE const char* U_EXPORT2
|
| uloc_toLegacyType(const char* keyword, const char* value);
|
|
|
| -#endif /* U_HIDE_DRAFT_API */
|
| -
|
| #endif /*_ULOC*/
|
|
|