diff --git a/console/java17/src/main/java/tech/uom/demo/java17/PersonDemo.java b/console/java17/src/main/java/tech/uom/demo/java17/PersonDemo.java index 55b33dd..d80ad93 100644 --- a/console/java17/src/main/java/tech/uom/demo/java17/PersonDemo.java +++ b/console/java17/src/main/java/tech/uom/demo/java17/PersonDemo.java @@ -47,10 +47,13 @@ public static void main(String[] args) { var min = getQuantity(50, KILOGRAM); var max = getQuantity(100, KILOGRAM); var range = new QuantityRange(min, max); + System.out.println(range); if (range.contains(person1.mass())) { System.out.println("mass within range."); } else { System.out.println("mass not within range."); } + var range2 = tech.units.indriya.quantity.QuantityRange.of(min, max); + System.out.println(range2); } } diff --git a/pom.xml b/pom.xml index 51254f0..74d9739 100644 --- a/pom.xml +++ b/pom.xml @@ -34,7 +34,7 @@ ${jdkVersion} ${jdkVersion} 2.2 - 2.2 + 2.2.1-SNAPSHOT 2.2 2.2-SNAPSHOT 2.2-SNAPSHOT