From 2e297049fe3324fdc8e765eed06606b70062cf52 Mon Sep 17 00:00:00 2001 From: Werner Keil Date: Wed, 1 Jan 2025 23:00:57 +0100 Subject: [PATCH] 91: Release 2.2 Task-Url: https://github.com/unitsofmeasurement/si-units/issues/91 --- units/src/main/java/si/uom/NonSI.java | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/units/src/main/java/si/uom/NonSI.java b/units/src/main/java/si/uom/NonSI.java index b690f0c..3f638e4 100644 --- a/units/src/main/java/si/uom/NonSI.java +++ b/units/src/main/java/si/uom/NonSI.java @@ -34,6 +34,7 @@ import static si.uom.SI.ELEMENTARY_CHARGE_VALUE; import static tech.units.indriya.AbstractUnit.ONE; import static tech.units.indriya.unit.Units.BECQUEREL; +import static tech.units.indriya.unit.Units.DAY; import static tech.units.indriya.unit.Units.COULOMB; import static tech.units.indriya.unit.Units.JOULE; import static tech.units.indriya.unit.Units.KILOGRAM; @@ -67,7 +68,6 @@ import tech.units.indriya.function.AbstractConverter; import tech.units.indriya.function.LogConverter; import tech.units.indriya.function.MultiplyConverter; -import tech.units.indriya.unit.Units; import tech.units.indriya.unit.TransformedUnit; /** @@ -159,7 +159,6 @@ public final class NonSI extends AbstractSystemOfUnits { */ public static final Unit ASTRONOMICAL_UNIT = addUnit( new TransformedUnit(METRE, MultiplyConverter.of(149597871000.0)), "Astronomical Unit", "UA"); - // Best estimate source: http://maia.usno.navy.mil/NSFA/CBE.html //////////// // Area // @@ -188,6 +187,8 @@ public final class NonSI extends AbstractSystemOfUnits { /** * The Bohr radius (a0 or rBohr) is a physical constant, approximately equal to the most probable distance between the nucleus and the electron in a hydrogen atom in its ground state. * It is named after Niels Bohr, due to its role in the Bohr model of an atom. Its value is 5.2917721067(12)×10−11 m. + * + * @see Wikipedia: Niels Bohr */ public static final Unit BOHR_RADIUS = addUnit(METRE.multiply(5.291772106712E-11), "Bohr Radius", "a0"); @@ -195,11 +196,6 @@ public final class NonSI extends AbstractSystemOfUnits { // Time // //////////// - /** - * A time unit accepted for use with SI units (standard name d ). - */ - public static final Unit