From 9bf9705667c0a36585cb12a3fe90b9baf71c806a Mon Sep 17 00:00:00 2001 From: Markus Scherer Date: Tue, 4 Mar 2014 19:32:53 +0000 Subject: [PATCH] ICU-9101 fix hiraganaQuaternary API docs X-SVN-Rev: 35329 --- icu4c/source/i18n/unicode/ucol.h | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/icu4c/source/i18n/unicode/ucol.h b/icu4c/source/i18n/unicode/ucol.h index f170e205f2..bd6ff050ca 100644 --- a/icu4c/source/i18n/unicode/ucol.h +++ b/icu4c/source/i18n/unicode/ucol.h @@ -285,13 +285,17 @@ typedef enum { UCOL_DECOMPOSITION_MODE = UCOL_NORMALIZATION_MODE, /** The strength attribute. Can be either UCOL_PRIMARY, UCOL_SECONDARY, * UCOL_TERTIARY, UCOL_QUATERNARY or UCOL_IDENTICAL. The usual strength - * for most locales (except Japanese) is tertiary. Quaternary strength + * for most locales (except Japanese) is tertiary. + * + * Quaternary strength * is useful when combined with shifted setting for alternate handling - * attribute and for JIS x 4061 collation, when it is used to distinguish - * between Katakana and Hiragana (this is achieved by setting the - * UCOL_HIRAGANA_QUATERNARY mode to on. Otherwise, quaternary level - * is affected only by the number of non ignorable code points in - * the string. Identical strength is rarely useful, as it amounts + * attribute and for JIS X 4061 collation, when it is used to distinguish + * between Katakana and Hiragana. + * Otherwise, quaternary level + * is affected only by the number of non-ignorable code points in + * the string. + * + * Identical strength is rarely useful, as it amounts * to codepoints of the NFD form of the string. * @stable ICU 2.0 */ @@ -301,11 +305,12 @@ typedef enum { * non-ignorables on quaternary level This is a sneaky way to produce JIS * sort order. * - * This attribute is an implementation detail of the CLDR Japanese tailoring. - * The implementation might change to use a different mechanism - * to achieve the same Japanese sort order. + * This attribute was an implementation detail of the CLDR Japanese tailoring. * Since ICU 50, this attribute is not settable any more via API functions. - * @deprecated ICU 50 Implementation detail, cannot be set via API, might be removed from implementation. + * Since CLDR 25/ICU 53, explicit quaternary relations are used + * to achieve the same Japanese sort order. + * + * @deprecated ICU 50 Implementation detail, cannot be set via API, was removed from implementation. */ UCOL_HIRAGANA_QUATERNARY_MODE = UCOL_STRENGTH + 1, #endif /* U_HIDE_DEPRECATED_API */