Remove use of ICU C++ Calendar class
authorMatt Ellis <matell@microsoft.com>
Wed, 14 Oct 2015 19:30:37 +0000 (12:30 -0700)
committerMatt Ellis <matell@microsoft.com>
Wed, 21 Oct 2015 20:48:59 +0000 (13:48 -0700)
commit4c64b92b4adb277d7e88cdacbc71b2545071847a
tree96bf3414b8f8ff98db5574be7fa21c89c2510c5d
parent65b55ab02eba5fc71daadb0db9f4d4a424906dba
Remove use of ICU C++ Calendar class

We would like to be able to link against versions of ICU installed as a
"operating system level library" which means we can't take a dependency
on any C++ APIs.

This change moves away from icu::Calendar in favor of UCalendar. I also
introduce a small helper template to manage the lifetime of ICU
resources.
src/corefx/System.Globalization.Native/calendarData.cpp
src/corefx/System.Globalization.Native/holders.h [new file with mode: 0644]
src/corefx/System.Globalization.Native/localeNumberData.cpp