<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 22 Aug 2016, at 19:07, Will Stanton via swift-corelibs-dev <<a href="mailto:swift-corelibs-dev@swift.org" class="">swift-corelibs-dev@swift.org</a>> wrote:</div><div class=""><div class=""><br class="">Since MeasureFormat ‘and friends’ are C++, for now, I also think the best path would be a C wrapper in CF that can pass things off to Apple’s ICU or on Linux to:<br class=""><a href="http://opensource.apple.com/source/ICU/ICU-551.30/icuSources/i18n/uameasureformat.cpp" class="">http://opensource.apple.com/source/ICU/ICU-551.30/icuSources/i18n/uameasureformat.cpp</a><br class=""><a href="http://opensource.apple.com/source/ICU/ICU-551.30/icuSources/i18n/uatimeunitformat.cpp" class="">http://opensource.apple.com/source/ICU/ICU-551.30/icuSources/i18n/uatimeunitformat.cpp</a><br class=""><br class=""></div></div></blockquote>Yes - I was planning on including uameasureformat.cpp for the linux build, although I was also unsure whether the build script was setup to compile c++.</div><div class="">Noticed a bug in uameasureformat.cpp by the way; DURATION_DAY and DURATION_WEEK are the wrong way around!</div><div class=""><br class=""></div><div class="">I’m a bit confused by uatimeunitformat. I’m probably missing something obvious, but what can it do that uameasureformat can’t do?</div><div class=""><br class=""></div><div class="">Henry</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class="" style="margin: 0px; line-height: normal;">---</div><div class="" style="margin: 0px; line-height: normal;">Henry Betts</div><div class="" style="margin: 0px; line-height: normal;"><a href="http://henrybetts.co.uk" class="">henrybetts.co.uk</a></div><br class=""></div><br class=""></body></html>