ICU-12187 Update some API in ICU4C 57

X-SVN-Rev: 38455
This commit is contained in:
Michael Ow 2016-03-01 22:38:48 +00:00
parent 265f653a01
commit f2e7352104
2 changed files with 3 additions and 7 deletions

View file

@ -151,15 +151,13 @@ public:
*/
UBool contains(const Region &other) const;
#ifndef U_HIDE_DRAFT_API
/**
* For deprecated regions, return an enumeration over the IDs of the regions that are the preferred replacement
* regions for this region. Returns null for a non-deprecated region. For example, calling this method with region
* "SU" (Soviet Union) would return a list of the regions containing "RU" (Russia), "AM" (Armenia), "AZ" (Azerbaijan), etc...
* @draft ICU 55
* @stable ICU 55
*/
StringEnumeration* getPreferredValues(UErrorCode &status) const;
#endif /* U_HIDE_DRAFT_API */
/**
* Return this region's canonical region code.

View file

@ -1,5 +1,5 @@
/*************************************************************************
* Copyright (c) 1997-2015, International Business Machines Corporation
* Copyright (c) 1997-2016, International Business Machines Corporation
* and others. All Rights Reserved.
**************************************************************************
*
@ -273,7 +273,6 @@ public:
static const UnicodeString U_EXPORT2 getEquivalentID(const UnicodeString& id,
int32_t index);
#ifndef U_HIDE_DRAFT_API
/**
* Creates an instance of TimeZone detected from the current host
* system configuration. Note that ICU4C does not change the default
@ -285,10 +284,9 @@ public:
*
* @return A new instance of TimeZone detected from the current host system
* configuration.
* @draft ICU 55
* @stable ICU 55
*/
static TimeZone* U_EXPORT2 detectHostTimeZone();
#endif /* U_HIDE_DRAFT_API */
/**
* Creates a new copy of the default TimeZone for this host. Unless the default time