1 // Copyright (C) 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
4 *******************************************************************************
5 * Copyright (C) 1996-2014, International Business Machines
6 * Corporation and others. All Rights Reserved.
7 *******************************************************************************
10 * created on: 2012feb14 with new and old collation code
11 * created by: Markus W. Scherer
14 #ifndef __COLLATIONCOMPARE_H__
15 #define __COLLATIONCOMPARE_H__
17 #include "unicode/utypes.h"
19 #if !UCONFIG_NO_COLLATION
21 #include "unicode/ucol.h"
25 class CollationIterator;
26 struct CollationSettings;
28 class U_I18N_API CollationCompare /* not : public UObject because all methods are static */ {
30 static UCollationResult compareUpToQuaternary(CollationIterator &left, CollationIterator &right,
31 const CollationSettings &settings,
32 UErrorCode &errorCode);
37 #endif // !UCONFIG_NO_COLLATION
38 #endif // __COLLATIONCOMPARE_H__