API addition proposal: ucol_getUCAVersion

Vladimir Weinstein <[email protected]> Wed, 05 Nov 2003 12:12:07 -0800
Newsgroups gmane.comp.lib.icu.general
Message-ID <[email protected]>
Expiration: 11/12/2003

Add API:
/**
  * Gets the UCA version information for a Collator. Version is the
  * UCA version number (3.1.1, 4.0).
  * @param coll The UCollator to query.
  * @param info the version # information, the result will be filled in
  * @stable ICU 2.0
  */
U_CAPI void U_EXPORT2
ucol_getUCAVersion(const UCollator* coll, UVersionInfo info);


Motivation: underlying UCA version affects ordering. In the future, it might be 
possible to have several UCA versions being used at the same time, hence the 
collator as a parameter. Currently, all the collators in a single version of ICU 
have the same UCA version.

Regards,
v.

-- 
Vladimir Weinstein, IBM GCoC-Unicode/ICU  San Jose, CA [email protected]