Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(11)

Unified Diff: icu4c/source/i18n/numparse_currency.h

Issue 339630043: ticket:13736 Change number parsing to require locale currency when using non-currency parse functio… (Closed) Base URL: svn+icussh://source.icu-project.org/repos/icu/trunk/
Patch Set: Adding back test that was erroneously disabled. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « icu4c/source/i18n/numparse_affixes.cpp ('k') | icu4c/source/i18n/numparse_currency.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: icu4c/source/i18n/numparse_currency.h
===================================================================
--- icu4c/source/i18n/numparse_currency.h (revision 41443)
+++ icu4c/source/i18n/numparse_currency.h (working copy)
@@ -34,7 +34,8 @@
public:
CombinedCurrencyMatcher() = default; // WARNING: Leaves the object in an unusable state
- CombinedCurrencyMatcher(const CurrencySymbols& currencySymbols, const DecimalFormatSymbols& dfs, UErrorCode& status);
+ CombinedCurrencyMatcher(const CurrencySymbols& currencySymbols, const DecimalFormatSymbols& dfs,
+ parse_flags_t parseFlags, UErrorCode& status);
bool match(StringSegment& segment, ParsedNumber& result, UErrorCode& status) const override;
@@ -47,6 +48,9 @@
UnicodeString fCurrency1;
UnicodeString fCurrency2;
+ bool fUseFullCurrencyData;
+ UnicodeString fLocalLongNames[StandardPlural::COUNT];
+
UnicodeString afterPrefixInsert;
UnicodeString beforeSuffixInsert;
« no previous file with comments | « icu4c/source/i18n/numparse_affixes.cpp ('k') | icu4c/source/i18n/numparse_currency.cpp » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b