aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/icu/include/unicode/tmutfmt.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/tmutfmt.h
parentbf862ddf5c6178e1bb5e4fb3f7c61015deebe284 (diff)
downloadydb-fd82fb12fb45e71a02c628e45b12c50c0dd0d308.tar.gz
Update ICU to 70.1
Diffstat (limited to 'contrib/libs/icu/include/unicode/tmutfmt.h')
-rw-r--r--contrib/libs/icu/include/unicode/tmutfmt.h20
1 files changed, 3 insertions, 17 deletions
diff --git a/contrib/libs/icu/include/unicode/tmutfmt.h b/contrib/libs/icu/include/unicode/tmutfmt.h
index ad871f7c09..02e0563a01 100644
--- a/contrib/libs/icu/include/unicode/tmutfmt.h
+++ b/contrib/libs/icu/include/unicode/tmutfmt.h
@@ -126,7 +126,7 @@ public:
* @return A copy of the object.
* @deprecated ICU 53
*/
- virtual TimeUnitFormat* clone() const;
+ virtual TimeUnitFormat* clone() const override;
/**
* Assignment operator
@@ -135,15 +135,6 @@ public:
TimeUnitFormat& operator=(const TimeUnitFormat& other);
/**
- * Return true if the given Format objects are not semantically equal.
- * Objects of different subclasses are considered unequal.
- * @param other the object to be compared with.
- * @return true if the given Format objects are not semantically equal.
- * @deprecated ICU 53
- */
- UBool operator!=(const Format& other) const;
-
- /**
* Set the locale used for formatting or parsing.
* @param locale the locale to be set
* @param status output param set to success/failure code on exit
@@ -167,7 +158,7 @@ public:
*/
virtual void parseObject(const UnicodeString& source,
Formattable& result,
- ParsePosition& pos) const;
+ ParsePosition& pos) const override;
/**
* Return the class ID for this class. This is useful only for comparing to
@@ -193,7 +184,7 @@ public:
* other classes have different class IDs.
* @deprecated ICU 53
*/
- virtual UClassID getDynamicClassID(void) const;
+ virtual UClassID getDynamicClassID(void) const override;
private:
Hashtable* fTimeUnitToCountToPatterns[TimeUnit::UTIMEUNIT_FIELD_COUNT];
@@ -236,11 +227,6 @@ private:
friend struct TimeUnitFormatReadSink;
};
-inline UBool
-TimeUnitFormat::operator!=(const Format& other) const {
- return !operator==(other);
-}
-
U_NAMESPACE_END
#endif /* U_HIDE_DEPRECATED_API */