ICU-96 more collation
X-SVN-Rev: 2953
This commit is contained in:
parent
9ba6aa1e0a
commit
75e644280a
@ -385,6 +385,12 @@ public:
|
||||
*/
|
||||
virtual UBool operator!=(const Collator& other) const;
|
||||
|
||||
/**
|
||||
* Gets the state of french collation. So what!
|
||||
*/
|
||||
UCollationOptions getDirection();
|
||||
void setDirection(UCollationOptions direction);
|
||||
|
||||
/**
|
||||
* Makes a deep copy of the object. The caller owns the returned object.
|
||||
* @return the cloned object.
|
||||
@ -957,7 +963,4 @@ RuleBasedCollator::addContractOrder(const UnicodeString &groupChars,
|
||||
addContractOrder(groupChars, anOrder, TRUE, status);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
@ -146,6 +146,9 @@ enum UNormalizationOption {
|
||||
/** Do not normalize Hangul */
|
||||
UCOL_IGNORE_HANGUL = 1
|
||||
};
|
||||
|
||||
typedef enum UCollationOptions UCollationOptions;
|
||||
|
||||
typedef enum UNormalizationOption UNormalizationOption;
|
||||
/**
|
||||
* Base letter represents a primary difference. Set comparison
|
||||
@ -452,6 +455,12 @@ U_CAPI void
|
||||
ucol_setStrength( UCollator *coll,
|
||||
UCollationStrength strength);
|
||||
|
||||
U_CAPI UCollationOptions ucol_getDirection(const UCollator *coll);
|
||||
|
||||
U_CAPI void ucol_setDirection( UCollator *coll,
|
||||
UCollationOptions direction);
|
||||
|
||||
|
||||
/**
|
||||
* Get the normalization mode used in a UCollator.
|
||||
* The normalization mode influences how strings are compared.
|
||||
|
Loading…
Reference in New Issue
Block a user