diff options
author | romankoshelev <romankoshelev@yandex-team.com> | 2023-08-14 19:51:50 +0300 |
---|---|---|
committer | romankoshelev <romankoshelev@yandex-team.com> | 2023-08-15 01:24:11 +0300 |
commit | cfcd865e05c0d0525ea27d1e153a043b32a85138 (patch) | |
tree | 68d3b3b25271e8a4998505897a269ff7ce119b76 /contrib/libs/icu/include/unicode/decimfmt.h | |
parent | ccb790c507bd5e8ffe2ef9886ce5ee0a7ce22a15 (diff) | |
download | ydb-cfcd865e05c0d0525ea27d1e153a043b32a85138.tar.gz |
Update ICU to 73.2
Diffstat (limited to 'contrib/libs/icu/include/unicode/decimfmt.h')
-rw-r--r-- | contrib/libs/icu/include/unicode/decimfmt.h | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/contrib/libs/icu/include/unicode/decimfmt.h b/contrib/libs/icu/include/unicode/decimfmt.h index ab6cd14e18..f72ba68725 100644 --- a/contrib/libs/icu/include/unicode/decimfmt.h +++ b/contrib/libs/icu/include/unicode/decimfmt.h @@ -803,7 +803,7 @@ class U_I18N_API DecimalFormat : public NumberFormat { * @see getGroupingUsed * @stable ICU 53 */ - void setGroupingUsed(UBool newValue) U_OVERRIDE; + void setGroupingUsed(UBool newValue) override; /** * Sets whether or not numbers should be parsed as integers only. @@ -812,7 +812,7 @@ class U_I18N_API DecimalFormat : public NumberFormat { * @see isParseIntegerOnly * @stable ICU 53 */ - void setParseIntegerOnly(UBool value) U_OVERRIDE; + void setParseIntegerOnly(UBool value) override; /** * Sets whether lenient parsing should be enabled (it is off by default). @@ -821,7 +821,7 @@ class U_I18N_API DecimalFormat : public NumberFormat { * \c false otherwise. * @stable ICU 4.8 */ - void setLenient(UBool enable) U_OVERRIDE; + void setLenient(UBool enable) override; /** * Create a DecimalFormat from the given pattern and symbols. @@ -890,7 +890,7 @@ class U_I18N_API DecimalFormat : public NumberFormat { * Destructor. * @stable ICU 2.0 */ - ~DecimalFormat() U_OVERRIDE; + ~DecimalFormat() override; /** * Clone this Format object polymorphically. The caller owns the @@ -899,7 +899,7 @@ class U_I18N_API DecimalFormat : public NumberFormat { * @return a polymorphic copy of this DecimalFormat. * @stable ICU 2.0 */ - DecimalFormat* clone() const U_OVERRIDE; + DecimalFormat* clone() const override; /** * Return true if the given Format objects are semantically equal. @@ -909,7 +909,7 @@ class U_I18N_API DecimalFormat : public NumberFormat { * @return true if the given Format objects are semantically equal. * @stable ICU 2.0 */ - bool operator==(const Format& other) const U_OVERRIDE; + bool operator==(const Format& other) const override; using NumberFormat::format; @@ -925,7 +925,7 @@ class U_I18N_API DecimalFormat : public NumberFormat { * @return Reference to 'appendTo' parameter. * @stable ICU 2.0 */ - UnicodeString& format(double number, UnicodeString& appendTo, FieldPosition& pos) const U_OVERRIDE; + UnicodeString& format(double number, UnicodeString& appendTo, FieldPosition& pos) const override; #ifndef U_HIDE_INTERNAL_API /** @@ -941,7 +941,7 @@ class U_I18N_API DecimalFormat : public NumberFormat { * @internal */ UnicodeString& format(double number, UnicodeString& appendTo, FieldPosition& pos, - UErrorCode& status) const U_OVERRIDE; + UErrorCode& status) const override; #endif /* U_HIDE_INTERNAL_API */ /** @@ -952,13 +952,13 @@ class U_I18N_API DecimalFormat : public NumberFormat { * Result is appended to existing contents. * @param posIter On return, can be used to iterate over positions * of fields generated by this format call. - * Can be NULL. + * Can be nullptr. * @param status Output param filled with success/failure status. * @return Reference to 'appendTo' parameter. * @stable ICU 4.4 */ UnicodeString& format(double number, UnicodeString& appendTo, FieldPositionIterator* posIter, - UErrorCode& status) const U_OVERRIDE; + UErrorCode& status) const override; /** * Format a long number using base-10 representation. @@ -971,7 +971,7 @@ class U_I18N_API DecimalFormat : public NumberFormat { * @return Reference to 'appendTo' parameter. * @stable ICU 2.0 */ - UnicodeString& format(int32_t number, UnicodeString& appendTo, FieldPosition& pos) const U_OVERRIDE; + UnicodeString& format(int32_t number, UnicodeString& appendTo, FieldPosition& pos) const override; #ifndef U_HIDE_INTERNAL_API /** @@ -987,7 +987,7 @@ class U_I18N_API DecimalFormat : public NumberFormat { * @internal */ UnicodeString& format(int32_t number, UnicodeString& appendTo, FieldPosition& pos, - UErrorCode& status) const U_OVERRIDE; + UErrorCode& status) const override; #endif /* U_HIDE_INTERNAL_API */ /** @@ -998,13 +998,13 @@ class U_I18N_API DecimalFormat : public NumberFormat { * Result is appended to existing contents. * @param posIter On return, can be used to iterate over positions * of fields generated by this format call. - * Can be NULL. + * Can be nullptr. * @param status Output param filled with success/failure status. * @return Reference to 'appendTo' parameter. * @stable ICU 4.4 */ UnicodeString& format(int32_t number, UnicodeString& appendTo, FieldPositionIterator* posIter, - UErrorCode& status) const U_OVERRIDE; + UErrorCode& status) const override; /** * Format an int64 number using base-10 representation. @@ -1017,7 +1017,7 @@ class U_I18N_API DecimalFormat : public NumberFormat { * @return Reference to 'appendTo' parameter. * @stable ICU 2.8 */ - UnicodeString& format(int64_t number, UnicodeString& appendTo, FieldPosition& pos) const U_OVERRIDE; + UnicodeString& format(int64_t number, UnicodeString& appendTo, FieldPosition& pos) const override; #ifndef U_HIDE_INTERNAL_API /** @@ -1033,7 +1033,7 @@ class U_I18N_API DecimalFormat : public NumberFormat { * @internal */ UnicodeString& format(int64_t number, UnicodeString& appendTo, FieldPosition& pos, - UErrorCode& status) const U_OVERRIDE; + UErrorCode& status) const override; #endif /* U_HIDE_INTERNAL_API */ /** @@ -1044,13 +1044,13 @@ class U_I18N_API DecimalFormat : public NumberFormat { * Result is appended to existing contents. * @param posIter On return, can be used to iterate over positions * of fields generated by this format call. - * Can be NULL. + * Can be nullptr. * @param status Output param filled with success/failure status. * @return Reference to 'appendTo' parameter. * @stable ICU 4.4 */ UnicodeString& format(int64_t number, UnicodeString& appendTo, FieldPositionIterator* posIter, - UErrorCode& status) const U_OVERRIDE; + UErrorCode& status) const override; /** * Format a decimal number. @@ -1063,13 +1063,13 @@ class U_I18N_API DecimalFormat : public NumberFormat { * Result is appended to existing contents. * @param posIter On return, can be used to iterate over positions * of fields generated by this format call. - * Can be NULL. + * Can be nullptr. * @param status Output param filled with success/failure status. * @return Reference to 'appendTo' parameter. * @stable ICU 4.4 */ UnicodeString& format(StringPiece number, UnicodeString& appendTo, FieldPositionIterator* posIter, - UErrorCode& status) const U_OVERRIDE; + UErrorCode& status) const override; #ifndef U_HIDE_INTERNAL_API @@ -1089,7 +1089,7 @@ class U_I18N_API DecimalFormat : public NumberFormat { * @internal */ UnicodeString& format(const number::impl::DecimalQuantity& number, UnicodeString& appendTo, - FieldPositionIterator* posIter, UErrorCode& status) const U_OVERRIDE; + FieldPositionIterator* posIter, UErrorCode& status) const override; /** * Format a decimal number. @@ -1107,7 +1107,7 @@ class U_I18N_API DecimalFormat : public NumberFormat { * @internal */ UnicodeString& format(const number::impl::DecimalQuantity& number, UnicodeString& appendTo, - FieldPosition& pos, UErrorCode& status) const U_OVERRIDE; + FieldPosition& pos, UErrorCode& status) const override; #endif // U_HIDE_INTERNAL_API @@ -1116,7 +1116,7 @@ class U_I18N_API DecimalFormat : public NumberFormat { /** * Parse the given string using this object's choices. The method * does string comparisons to try to find an optimal match. - * If no object can be parsed, index is unchanged, and NULL is + * If no object can be parsed, index is unchanged, and nullptr is * returned. The result is returned as the most parsimonious * type of Formattable that will accommodate all of the * necessary precision. For example, if the result is exactly 12, @@ -1133,7 +1133,7 @@ class U_I18N_API DecimalFormat : public NumberFormat { * @stable ICU 2.0 */ void parse(const UnicodeString& text, Formattable& result, - ParsePosition& parsePosition) const U_OVERRIDE; + ParsePosition& parsePosition) const override; /** * Parses text from the given string as a currency amount. Unlike @@ -1151,10 +1151,10 @@ class U_I18N_API DecimalFormat : public NumberFormat { * If the parse fails, the position in unchanged upon output. * @return if parse succeeds, a pointer to a newly-created CurrencyAmount * object (owned by the caller) containing information about - * the parsed currency; if parse fails, this is NULL. + * the parsed currency; if parse fails, this is nullptr. * @stable ICU 49 */ - CurrencyAmount* parseCurrency(const UnicodeString& text, ParsePosition& pos) const U_OVERRIDE; + CurrencyAmount* parseCurrency(const UnicodeString& text, ParsePosition& pos) const override; /** * Returns the decimal format symbols, which is generally not changed @@ -1399,7 +1399,7 @@ class U_I18N_API DecimalFormat : public NumberFormat { * @see #setRoundingMode * @stable ICU 2.0 */ - virtual ERoundingMode getRoundingMode(void) const U_OVERRIDE; + virtual ERoundingMode getRoundingMode(void) const override; /** * Set the rounding mode. @@ -1409,7 +1409,7 @@ class U_I18N_API DecimalFormat : public NumberFormat { * @see #getRoundingMode * @stable ICU 2.0 */ - virtual void setRoundingMode(ERoundingMode roundingMode) U_OVERRIDE; + virtual void setRoundingMode(ERoundingMode roundingMode) override; /** * Get the width to which the output of format() is padded. @@ -1910,7 +1910,7 @@ class U_I18N_API DecimalFormat : public NumberFormat { * @see NumberFormat#setMaximumIntegerDigits * @stable ICU 2.0 */ - void setMaximumIntegerDigits(int32_t newValue) U_OVERRIDE; + void setMaximumIntegerDigits(int32_t newValue) override; /** * Sets the minimum number of digits allowed in the integer portion of a @@ -1921,7 +1921,7 @@ class U_I18N_API DecimalFormat : public NumberFormat { * @see NumberFormat#setMinimumIntegerDigits * @stable ICU 2.0 */ - void setMinimumIntegerDigits(int32_t newValue) U_OVERRIDE; + void setMinimumIntegerDigits(int32_t newValue) override; /** * Sets the maximum number of digits allowed in the fraction portion of a @@ -1932,7 +1932,7 @@ class U_I18N_API DecimalFormat : public NumberFormat { * @see NumberFormat#setMaximumFractionDigits * @stable ICU 2.0 */ - void setMaximumFractionDigits(int32_t newValue) U_OVERRIDE; + void setMaximumFractionDigits(int32_t newValue) override; /** * Sets the minimum number of digits allowed in the fraction portion of a @@ -1943,7 +1943,7 @@ class U_I18N_API DecimalFormat : public NumberFormat { * @see NumberFormat#setMinimumFractionDigits * @stable ICU 2.0 */ - void setMinimumFractionDigits(int32_t newValue) U_OVERRIDE; + void setMinimumFractionDigits(int32_t newValue) override; /** * Returns the minimum number of significant digits that will be @@ -2014,11 +2014,11 @@ class U_I18N_API DecimalFormat : public NumberFormat { * currency format through the application of a new pattern. * @param theCurrency a 3-letter ISO code indicating new currency * to use. It need not be null-terminated. May be the empty - * string or NULL to indicate no currency. + * string or nullptr to indicate no currency. * @param ec input-output error code * @stable ICU 3.0 */ - void setCurrency(const char16_t* theCurrency, UErrorCode& ec) U_OVERRIDE; + void setCurrency(const char16_t* theCurrency, UErrorCode& ec) override; #ifndef U_FORCE_HIDE_DEPRECATED_API /** @@ -2137,7 +2137,7 @@ class U_I18N_API DecimalFormat : public NumberFormat { * other classes have different class IDs. * @stable ICU 2.0 */ - UClassID getDynamicClassID(void) const U_OVERRIDE; + UClassID getDynamicClassID(void) const override; private: |