Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2049)

Unified Diff: source/i18n/quantityformatter.h

Issue 2440913002: Update ICU to 58.1
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/i18n/quant.cpp ('k') | source/i18n/quantityformatter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/i18n/quantityformatter.h
diff --git a/source/i18n/quantityformatter.h b/source/i18n/quantityformatter.h
index 6052d33ed9bb562c513cf1b386d9a6ce08ffd777..f7bb6b5be785eced6021ad3fb74d1e1d69804809 100644
--- a/source/i18n/quantityformatter.h
+++ b/source/i18n/quantityformatter.h
@@ -1,6 +1,8 @@
+// Copyright (C) 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/*
******************************************************************************
-* Copyright (C) 2014-2015, International Business Machines
+* Copyright (C) 2014-2016, International Business Machines
* Corporation and others. All Rights Reserved.
******************************************************************************
* quantityformatter.h
@@ -18,7 +20,7 @@
U_NAMESPACE_BEGIN
-class SimplePatternFormatter;
+class SimpleFormatter;
class UnicodeString;
class PluralRules;
class NumberFormat;
@@ -85,7 +87,7 @@ public:
* If isValid() returns TRUE, this method is guaranteed to return a
* non-NULL value.
*/
- const SimplePatternFormatter *getByVariant(const char *variant) const;
+ const SimpleFormatter *getByVariant(const char *variant) const;
/**
* Formats a number with this object appending the result to appendTo.
@@ -122,14 +124,14 @@ public:
* Formats the pattern with the value and adjusts the FieldPosition.
*/
static UnicodeString &format(
- const SimplePatternFormatter &pattern,
+ const SimpleFormatter &pattern,
const UnicodeString &value,
UnicodeString &appendTo,
FieldPosition &pos,
UErrorCode &status);
private:
- SimplePatternFormatter *formatters[StandardPlural::COUNT];
+ SimpleFormatter *formatters[StandardPlural::COUNT];
};
U_NAMESPACE_END
« no previous file with comments | « source/i18n/quant.cpp ('k') | source/i18n/quantityformatter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698