X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..9f1b115531acc2f3640893f76e8bcf6680033062:/icuSources/common/util.h diff --git a/icuSources/common/util.h b/icuSources/common/util.h index 1031d488..e7822490 100644 --- a/icuSources/common/util.h +++ b/icuSources/common/util.h @@ -1,12 +1,15 @@ +// © 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* -********************************************************************** -* Copyright (c) 2001, International Business Machines -* Corporation and others. All Rights Reserved. -********************************************************************** -* Date Name Description -* 11/19/2001 aliu Creation. -********************************************************************** -*/ + ********************************************************************** + * Copyright (c) 2001-2011, International Business Machines + * Corporation and others. All Rights Reserved. + ********************************************************************** + * Date Name Description + * 11/19/2001 aliu Creation. + ********************************************************************** + */ + #ifndef ICU_UTIL_H #define ICU_UTIL_H @@ -71,9 +74,10 @@ class U_COMMON_API ICU_Utility /* not : public UObject because all methods are s * @param c character to search for * @return Offset of the first instance of c, or -1 if not found. */ - static int32_t quotedIndexOf(const UnicodeString& text, - int32_t start, int32_t limit, - UChar c); +//?FOR FUTURE USE. DISABLE FOR NOW for coverage reasons. +// static int32_t quotedIndexOf(const UnicodeString& text, +// int32_t start, int32_t limit, +// UChar c); /** * Skip over a sequence of zero or more white space characters at pos. @@ -87,8 +91,8 @@ class U_COMMON_API ICU_Utility /* not : public UObject because all methods are s UBool advance = FALSE); /** - * Skip over whitespace in a Replaceable. Whitespace is defined by - * uprv_isRuleWhiteSpace(). Skipping may be done in the forward or + * Skip over Pattern_White_Space in a Replaceable. + * Skipping may be done in the forward or * reverse direction. In either case, the leftmost index will be * inclusive, and the rightmost index will be exclusive. That is, * given a range defined as [start, limit), the call @@ -148,7 +152,7 @@ class U_COMMON_API ICU_Utility /* not : public UObject because all methods are s * pattern. Characters are matched literally and case-sensitively * except for the following special characters: * - * ~ zero or more uprv_isRuleWhiteSpace chars + * ~ zero or more Pattern_White_Space chars * * If end of pattern is reached with all matches along the way, * pos is advanced to the first unparsed index and returned.