diff options
author | mcheshkov <mcheshkov@yandex-team.ru> | 2022-02-10 16:46:16 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:16 +0300 |
commit | 1312621288956f199a5bd5342b0133d4395fa725 (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /contrib/libs/icu/i18n/quantityformatter.h | |
parent | e9d19cec64684c9c1e6b0c98297e5b895cf904fe (diff) | |
download | ydb-1312621288956f199a5bd5342b0133d4395fa725.tar.gz |
Restoring authorship annotation for <mcheshkov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/icu/i18n/quantityformatter.h')
-rw-r--r-- | contrib/libs/icu/i18n/quantityformatter.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/contrib/libs/icu/i18n/quantityformatter.h b/contrib/libs/icu/i18n/quantityformatter.h index 3089f38e06..daaef4f060 100644 --- a/contrib/libs/icu/i18n/quantityformatter.h +++ b/contrib/libs/icu/i18n/quantityformatter.h @@ -1,4 +1,4 @@ -// © 2016 and later: Unicode, Inc. and others. +// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html /* ****************************************************************************** @@ -26,7 +26,7 @@ class PluralRules; class NumberFormat; class Formattable; class FieldPosition; -class FormattedStringBuilder; +class FormattedStringBuilder; /** * A plural aware formatter that is good for expressing a single quantity and @@ -112,7 +112,7 @@ public: /** * Selects the standard plural form for the number/formatter/rules. - * TODO(13591): Remove this method. + * TODO(13591): Remove this method. */ static StandardPlural::Form selectPlural( const Formattable &number, @@ -123,29 +123,29 @@ public: UErrorCode &status); /** - * Formats a quantity and selects its plural form. The output is appended - * to a FormattedStringBuilder in order to retain field information. - * - * @param quantity The number to format. - * @param fmt The formatter to use to format the number. - * @param rules The rules to use to select the plural form of the - * formatted number. - * @param output Where to append the result of the format operation. - * @param pluralForm Output variable populated with the plural form of the - * formatted number. - * @param status Set if an error occurs. - */ - static void formatAndSelect( - double quantity, - const NumberFormat& fmt, - const PluralRules& rules, - FormattedStringBuilder& output, - StandardPlural::Form& pluralForm, - UErrorCode& status); - - /** + * Formats a quantity and selects its plural form. The output is appended + * to a FormattedStringBuilder in order to retain field information. + * + * @param quantity The number to format. + * @param fmt The formatter to use to format the number. + * @param rules The rules to use to select the plural form of the + * formatted number. + * @param output Where to append the result of the format operation. + * @param pluralForm Output variable populated with the plural form of the + * formatted number. + * @param status Set if an error occurs. + */ + static void formatAndSelect( + double quantity, + const NumberFormat& fmt, + const PluralRules& rules, + FormattedStringBuilder& output, + StandardPlural::Form& pluralForm, + UErrorCode& status); + + /** * Formats the pattern with the value and adjusts the FieldPosition. - * TODO: Remove? + * TODO: Remove? */ static UnicodeString &format( const SimpleFormatter &pattern, |