mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 01:11:02 +00:00
ICU-22371 Fix ULocale.getISOLanguages() API docs
This commit is contained in:
parent
00bb6789b3
commit
530ca98176
2 changed files with 8 additions and 3 deletions
|
@ -984,7 +984,10 @@ public:
|
|||
static const char* const* U_EXPORT2 getISOCountries();
|
||||
|
||||
/**
|
||||
* Gets a list of all available language codes defined in ISO 639. This is a pointer
|
||||
* Returns a list of all unique language codes defined in ISO 639.
|
||||
* They can be 2 or 3 letter codes, as defined by
|
||||
* <a href="https://www.ietf.org/rfc/bcp/bcp47.html#section-2.2.1">
|
||||
* BCP 47, section 2.2.1</a>. This is a pointer
|
||||
* to an array of pointers to arrays of char. All of these pointers are owned
|
||||
* by ICU-- do not delete them, and do not write through them. The array is
|
||||
* terminated with a null pointer.
|
||||
|
|
|
@ -877,8 +877,10 @@ public final class ULocale implements Serializable, Comparable<ULocale> {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns a list of all 2-letter language codes defined in ISO 639.
|
||||
* Can be used to create Locales.
|
||||
* Returns a list of all unique language codes defined in ISO 639.
|
||||
* They can be 2 or 3 letter codes, as defined by
|
||||
* <a href="https://www.ietf.org/rfc/bcp/bcp47.html#section-2.2.1">
|
||||
* BCP 47, section 2.2.1</a>. Can be used to create Locales.
|
||||
* [NOTE: ISO 639 is not a stable standard-- some languages' codes have changed.
|
||||
* The list this function returns includes both the new and the old codes for the
|
||||
* languages whose codes have changed.]
|
||||
|
|
Loading…
Add table
Reference in a new issue