From 7ba48255309ce9f6d00a153f763546d09ed12274 Mon Sep 17 00:00:00 2001 From: Hugo van der Merwe <17109322+hugovdm@users.noreply.github.com> Date: Thu, 12 Mar 2020 20:42:27 +0100 Subject: [PATCH] Update constants and preferences using existing ldml2icu rules. --- icu4c/source/data/misc/units.txt | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/icu4c/source/data/misc/units.txt b/icu4c/source/data/misc/units.txt index 6a72cd2de74..ce1c67c4c3e 100644 --- a/icu4c/source/data/misc/units.txt +++ b/icu4c/source/data/misc/units.txt @@ -44,7 +44,7 @@ units:table(nofallback){ target{"bit"} } british-thermal-unit{ - factor{"1055.06"} + factor{"4.184*2267.96185/9"} target{"kilogram-square-meter-per-square-second"} } bushel{ @@ -197,10 +197,6 @@ units:table(nofallback){ factor{"ft_to_m/12"} target{"meter"} } - inch-hg{ - factor{"3386.389"} - target{"kilogram-per-meter-square-second"} - } item{ factor{"1"} target{"item"} @@ -253,10 +249,6 @@ units:table(nofallback){ factor{"10000"} target{"meter"} } - millimeter-of-mercury{ - factor{"10132500/760000"} - target{"kilogram-per-meter-square-second"} - } minute{ factor{"60"} target{"second"} @@ -281,6 +273,10 @@ units:table(nofallback){ factor{"1"} target{"kilogram-meter-per-square-second"} } + ofhg{ + factor{"13595.1*gravity"} + target{"kilogram-per-square-meter-square-second"} + } ohm{ factor{"1"} target{"kilogram-square-meter-per-cubic-second-square-ampere"} @@ -297,10 +293,6 @@ units:table(nofallback){ factor{"30856780000000000"} target{"meter"} } - part-per-million{ - factor{"1/1000000"} - target{"portion"} - } pascal{ factor{"1"} target{"kilogram-per-meter-square-second"} @@ -313,6 +305,10 @@ units:table(nofallback){ factor{"1/1000"} target{"portion"} } + permillion{ + factor{"1/1000000"} + target{"portion"} + } permyriad{ factor{"1/10000"} target{"portion"} @@ -386,7 +382,7 @@ units:table(nofallback){ target{"cubic-meter"} } therm-us{ - factor{"105506000"} + factor{"105480400"} target{"kilogram-square-meter-per-square-second"} } ton{ @@ -1564,17 +1560,17 @@ units:table(nofallback){ } IN{ { - unit{"inch-hg"} + unit{"inch-ofhg"} } } MX{ { - unit{"millimeter-of-mercury"} + unit{"millimeter-ofhg"} } } RU{ { - unit{"millimeter-of-mercury"} + unit{"millimeter-ofhg"} } } TH{ @@ -1584,7 +1580,7 @@ units:table(nofallback){ } US{ { - unit{"inch-hg"} + unit{"inch-ofhg"} } } } -- 2.40.0