Make C++/J parseCurrency @draft in ICU 49

Description

Deleted Component: formatting

Follow-on from #8583: ICU4C and ICU4J NumberFormat and DecimalFormat have @internal parseCurrency methods; these should be made @draft in ICU 49.

Activity

Show:
UnicodeBot
July 1, 2018 at 12:04 AM
Trac Comment 7 by —2012-02-17T19:43:58.935Z

Revised API approved in PMC 2012/02/15:

C++

virtual CurrencyAmount * parseCurrency (const UnicodeString &text, ParsePosition &pos) const; // caller owns the returned CurrencyAmount

Java

CurrencyAmount parseCurrency(CharSequence text, ParsePosition pos);
UnicodeBot
July 1, 2018 at 12:04 AM
Trac Comment 6 by —2011-12-03T05:16:19.355Z

Actually, that plan for C++ parseCurrency won' work because CurrencyAmount objects are immutable.

UnicodeBot
July 1, 2018 at 12:04 AM
Trac Comment 5 by —2011-12-02T19:45:19.468Z

Approved in ICU PMC 2011/09/28 as follows:

i. In J, parseCurrency should take CharSequence instead of String
ii. In C++:
virtual CurrencyAmount &parseCurrency (const UnicodeString &text, CurrencyAmount &result, ParsePosition &pos) const; - Approved

Fixed

Details

Assignee

Reporter

Priority

Fix versions

Created June 28, 2018 at 5:18 PM
Updated July 2, 2018 at 10:48 PM
Resolved July 1, 2018 at 8:50 PM