]> granicus.if.org Git - icu/commitdiff
Update constants and preferences using existing ldml2icu rules.
authorHugo van der Merwe <17109322+hugovdm@users.noreply.github.com>
Thu, 12 Mar 2020 19:42:27 +0000 (20:42 +0100)
committerHugo van der Merwe <17109322+hugovdm@users.noreply.github.com>
Thu, 12 Mar 2020 19:45:41 +0000 (20:45 +0100)
icu4c/source/data/misc/units.txt

index 6a72cd2de743564cb135ee8fe0d518b9d77ba63e..ce1c67c4c3e987485f106bdee9750c494d530342 100644 (file)
@@ -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"}
                     }
                 }
             }