]> granicus.if.org Git - icu/commit
ICU-20568 Have macrosToMicroGenerator do input unit calculation.
authorHugo van der Merwe <17109322+hugovdm@users.noreply.github.com>
Thu, 10 Sep 2020 14:27:20 +0000 (16:27 +0200)
committerHugo van der Merwe <17109322+hugovdm@users.noreply.github.com>
Thu, 17 Sep 2020 10:11:26 +0000 (12:11 +0200)
commitc84ded050ad97d6f04611b31e379b3b89924d863
tree5d42fe3e899d77761d22e798b56a7c3107746d26
parent5a42118a6f31ae7e3afad71c37cb977c6f749f93
ICU-20568 Have macrosToMicroGenerator do input unit calculation.

This moves input unit calculation out of UnitConversionHandler making
it simpler and clearer, and localises the "MacroProps interpretation"
work in macrosToMicroGenerator, where it belongs.
icu4c/source/i18n/number_formatimpl.cpp
icu4c/source/i18n/number_usageprefs.cpp
icu4c/source/i18n/number_usageprefs.h
icu4c/source/i18n/unicode/measunit.h