[swift-corelibs-dev] Measurement Formatters & ICU
Henry Betts
henry.betts at btconnect.com
Mon Aug 22 14:58:20 CDT 2016
> On 22 Aug 2016, at 19:07, Will Stanton via swift-corelibs-dev <swift-corelibs-dev at swift.org <mailto:swift-corelibs-dev at swift.org>> wrote:
>
> 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:
> http://opensource.apple.com/source/ICU/ICU-551.30/icuSources/i18n/uameasureformat.cpp <http://opensource.apple.com/source/ICU/ICU-551.30/icuSources/i18n/uameasureformat.cpp>
> http://opensource.apple.com/source/ICU/ICU-551.30/icuSources/i18n/uatimeunitformat.cpp
>
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++.
Noticed a bug in uameasureformat.cpp by the way; DURATION_DAY and DURATION_WEEK are the wrong way around!
I’m a bit confused by uatimeunitformat. I’m probably missing something obvious, but what can it do that uameasureformat can’t do?
Henry
---
Henry Betts
henrybetts.co.uk <http://henrybetts.co.uk/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-corelibs-dev/attachments/20160822/813704fb/attachment.html>
More information about the swift-corelibs-dev
mailing list