> On 22 Aug 2016, at 19:07, Will Stanton via swift-corelibs-dev > <swift-corelibs-dev@swift.org <mailto:swift-corelibs-dev@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/>
_______________________________________________ swift-corelibs-dev mailing list swift-corelibs-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-corelibs-dev