Remove use of ICU C++ NumberFormat class
authorMatt Ellis <matell@microsoft.com>
Thu, 15 Oct 2015 21:59:26 +0000 (14:59 -0700)
committerMatt Ellis <matell@microsoft.com>
Wed, 21 Oct 2015 20:49:00 +0000 (13:49 -0700)
commit3029f7638c10db46f28981d94c06097efce7d6f6
treef7e8bec0f44b9f7f1fcb399946f13bb6e29ed502
parent39edeba2aeb24623425a72f95aa748e51e6242fe
Remove use of ICU C++ NumberFormat class

This change removes NumberFormat in favor of UNumberFormat. There is a
bit of work that needs to happen in order to keep the normalization code
we use to convert an ICU pattern so to something we can match against
working.

Instead of UnicodeStrings, the input to the normalization function is
now a UChar* and we build up a std::string during normalization.  This
allows us to also skip a conversion from UChar* back to char* so we can
find the correct pattern in our collection of patterns to examine.
src/corefx/System.Globalization.Native/holders.h
src/corefx/System.Globalization.Native/localeNumberData.cpp