From 2bde50f9ec3b1e5de63e515d8ef207afa199ebf0 Mon Sep 17 00:00:00 2001 From: Magno Nascimento Date: Mon, 20 Mar 2017 02:20:11 -0300 Subject: [PATCH] #59: Added missing units and updated number of units in test --- .../src/main/java/systems/uom/ucum/UCUM.java | 706 ++++++++---------- .../uom/ucum/SystemOfUnitsServiceTest.java | 2 +- 2 files changed, 332 insertions(+), 376 deletions(-) diff --git a/ucum-java8/src/main/java/systems/uom/ucum/UCUM.java b/ucum-java8/src/main/java/systems/uom/ucum/UCUM.java index 15347559..f8540628 100644 --- a/ucum-java8/src/main/java/systems/uom/ucum/UCUM.java +++ b/ucum-java8/src/main/java/systems/uom/ucum/UCUM.java @@ -39,6 +39,8 @@ import si.uom.quantity.WaveNumber; import systems.uom.quantity.Information; import systems.uom.quantity.InformationRate; +import systems.uom.quantity.Level; +import systems.uom.ucum.internal.format.UnitFormatParser; import si.uom.SI; import tec.uom.se.*; import tec.uom.se.format.SimpleUnitFormat; @@ -53,15 +55,12 @@ /** *

- * This class contains {@link SI} and Non-SI units as defined in the Unified Code for Units of Measure. + * This class contains {@link SI} and Non-SI units as defined in the Unified Code for Units of Measure. *

* *

- * Compatibility with {@link SI} units has been given priority over strict - * adherence to the standard. We have attempted to note every place where the - * definitions in this class deviate from the UCUM standard, but such notes are - * likely to be incomplete. + * Compatibility with {@link SI} units has been given priority over strict adherence to the standard. We have attempted to note every place where the + * definitions in this class deviate from the UCUM standard, but such notes are likely to be incomplete. *

* * @author Eric Russell @@ -99,10 +98,8 @@ public static UCUM getInstance() { /** As per UCUM standard. */ public static final Unit