2 *******************************************************************************
3 * Copyright (C) 1996-2014, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 *******************************************************************************
8 * created on: 2012feb14 with new and old collation code
9 * created by: Markus W. Scherer
12 #ifndef __COLLATIONCOMPARE_H__
13 #define __COLLATIONCOMPARE_H__
15 #include "unicode/utypes.h"
17 #if !UCONFIG_NO_COLLATION
19 #include "unicode/ucol.h"
23 class CollationIterator
;
24 struct CollationSettings
;
26 class U_I18N_API CollationCompare
/* not : public UObject because all methods are static */ {
28 static UCollationResult
compareUpToQuaternary(CollationIterator
&left
, CollationIterator
&right
,
29 const CollationSettings
&settings
,
30 UErrorCode
&errorCode
);
35 #endif // !UCONFIG_NO_COLLATION
36 #endif // __COLLATIONCOMPARE_H__