aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/icu/include/unicode/format.h
diff options
context:
space:
mode:
authorromankoshelev <romankoshelev@yandex-team.com>2023-08-09 20:07:20 +0300
committerromankoshelev <romankoshelev@yandex-team.com>2023-08-09 20:59:13 +0300
commitfd82fb12fb45e71a02c628e45b12c50c0dd0d308 (patch)
treef582b79f9002ab1d083e9acda600dfb3551c47b6 /contrib/libs/icu/include/unicode/format.h
parentbf862ddf5c6178e1bb5e4fb3f7c61015deebe284 (diff)
downloadydb-fd82fb12fb45e71a02c628e45b12c50c0dd0d308.tar.gz
Update ICU to 70.1
Diffstat (limited to 'contrib/libs/icu/include/unicode/format.h')
-rw-r--r--contrib/libs/icu/include/unicode/format.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/libs/icu/include/unicode/format.h b/contrib/libs/icu/include/unicode/format.h
index 96883a81a2..a21e61ad56 100644
--- a/contrib/libs/icu/include/unicode/format.h
+++ b/contrib/libs/icu/include/unicode/format.h
@@ -88,7 +88,7 @@ U_NAMESPACE_BEGIN
* 0xFFFD is returned.
* <P>
* If there is no match when parsing, a parse failure UErrorCode is
- * retured for methods which take no ParsePosition. For the method
+ * returned for methods which take no ParsePosition. For the method
* that takes a ParsePosition, the index parameter is left unchanged.
* <P>
* <em>User subclasses are not supported.</em> While clients may write
@@ -111,7 +111,7 @@ public:
* Objects of different subclasses are considered unequal.
* @stable ICU 2.0
*/
- virtual UBool operator==(const Format& other) const = 0;
+ virtual bool operator==(const Format& other) const = 0;
/**
* Return true if the given Format objects are not semantically
@@ -120,7 +120,7 @@ public:
* @return Return true if the given Format objects are not semantically.
* @stable ICU 2.0
*/
- UBool operator!=(const Format& other) const { return !operator==(other); }
+ bool operator!=(const Format& other) const { return !operator==(other); }
/**
* Clone this object polymorphically. The caller is responsible
@@ -288,7 +288,7 @@ protected:
* Simple function for initializing a UParseError from a UnicodeString.
*
* @param pattern The pattern to copy into the parseError
- * @param pos The position in pattern where the error occured
+ * @param pos The position in pattern where the error occurred
* @param parseError The UParseError object to fill in
* @stable ICU 2.4
*/