Package si.uom

Class NonSI

java.lang.Object
tech.units.indriya.AbstractSystemOfUnits
si.uom.NonSI
All Implemented Interfaces:
javax.measure.spi.SystemOfUnits, tech.uom.lib.common.function.Nameable

public class NonSI
extends tech.units.indriya.AbstractSystemOfUnits

This class contains units that are not part of the International System of Units, that is, they are outside the SI, but some are still widely used.

This class is not intended to be implemented by clients.

Version:
1.5, January 20, 2021
Author:
Jean-Marie Dautelle, Werner Keil
See Also:
Wikipedia: Common Units not officially sanctioned
  • Nested Class Summary

    Nested classes/interfaces inherited from class tech.units.indriya.AbstractSystemOfUnits

    tech.units.indriya.AbstractSystemOfUnits.Helper
  • Field Summary

    Fields
    Modifier and Type Field Description
    static javax.measure.Unit<javax.measure.quantity.Length> ANGSTROM
    A unit of length equal to 1E-10 m (standard name Å).
    static javax.measure.Unit<javax.measure.quantity.Length> ASTRONOMICAL_UNIT
    A length unit accepted for use with SI units (standard name UA).
    static javax.measure.Unit<javax.measure.quantity.AmountOfSubstance> ATOM
    A unit of amount of substance equals to one atom (standard name atom).
    static javax.measure.Unit<javax.measure.quantity.Mass> ATOMIC_MASS
    A unit of mass equal to 1/12 the mass of the carbon-12 atom (standard name u).
    static javax.measure.Unit<javax.measure.quantity.Pressure> BAR
    A unit of pressure equal to 100 kPa (standard name bar).
    static javax.measure.Unit<javax.measure.quantity.Area> BARN
    A barn (symbol: b) is a unit of area equal to 10−28 m2 (100 fm2)
    static javax.measure.Unit<si.uom.quantity.Level<javax.measure.quantity.Dimensionless>> BEL  
    static javax.measure.Unit<javax.measure.quantity.Length> BOHR_RADIUS
    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.
    static javax.measure.Unit<javax.measure.quantity.Speed> C
    The Natural Unit of Speed, a unit of velocity relative to the speed of light (standard name c).
    static javax.measure.Unit<javax.measure.quantity.Radioactivity> CURIE
    A unit of radioctive activity equal to the activity of a gram of radium (standard name Ci).
    static javax.measure.Unit<javax.measure.quantity.Mass> DALTON
    The dalton (Da) and the unified atomic mass unit (u) are alternative names (and symbols) for the same unit, equal to 1/12 times the mass of a free carbon 12 atom, at rest and in its ground state.
    static javax.measure.Unit<javax.measure.quantity.Time> DAY_SIDEREAL
    A unit of duration equal to the time required for a complete rotation of the earth in reference to any star or to the vernal equinox at the meridian, equal to 23 hours, 56 minutes, 4.09 seconds (standard name day_sidereal).
    static javax.measure.Unit<javax.measure.quantity.Angle> DEGREE_ANGLE
    An angle unit accepted for use with SI units (standard name deg).
    static javax.measure.Unit<javax.measure.quantity.Force> DYNE
    A unit of force equal to 1E-5 N (standard name dyn).
    static javax.measure.Unit<javax.measure.quantity.Mass> ELECTRON_MASS
    A unit of mass equal to the mass of the electron (standard name me).
    static javax.measure.Unit<javax.measure.quantity.Energy> ELECTRON_VOLT
    An energy unit accepted for use with SI units (standard name eV).
    static javax.measure.Unit<javax.measure.quantity.Energy> ERG
    A unit of energy equal to 1E-7 J (standard name erg).
    static javax.measure.Unit<javax.measure.quantity.ElectricCharge> FARADAY
    A unit of electric charge equal to equal to the product of Avogadro's number (see Units.MOLE) and the charge (1 e) on a single electron (standard name Fd).
    protected static javax.measure.Unit<javax.measure.quantity.Frequency> FRAMES_PER_SECOND
    A unit used to measure the frequency (rate) at which an imaging device produces unique consecutive images (standard name fps).
    static javax.measure.Unit<javax.measure.quantity.ElectricCharge> FRANKLIN
    A unit of electric charge which exerts a force of one dyne on an equal charge at a distance of one centimeter (standard name Fr).
    static javax.measure.Unit<javax.measure.quantity.Acceleration> GAL
    A unit of acceleration equal to 1 cm s2 (standard name Gal).
    static javax.measure.Unit<javax.measure.quantity.MagneticFluxDensity> GAUSS
    A unit of magnetic flux density equal 1000 A/m (standard name G).
    static javax.measure.Unit<javax.measure.quantity.ElectricCurrent> GILBERT
    A unit of electric charge equal to the centimeter-gram-second electromagnetic unit of magnetomotive force, equal to 10/4 πampere-turn (standard name Gi).
    static javax.measure.Unit<javax.measure.quantity.Area> HECTARE
    An angle unit accepted for use with SI units (standard name ha).
    static javax.measure.Unit<javax.measure.quantity.Power> HORSEPOWER
    A unit of power equal to the power required to raise a mass of 75 kilograms at a velocity of 1 meter per second (metric, standard name hp).
    static javax.measure.Unit<javax.measure.quantity.Pressure> INCH_OF_MERCURY
    A unit of pressure equal to the pressure exerted at the Earth's surface by a column of mercury 1 inch high (standard name inHg).
    static javax.measure.Unit<javax.measure.quantity.Force> KILOGRAM_FORCE
    A unit of force equal to 9.80665 N (standard name kgf).
    static javax.measure.Unit<javax.measure.quantity.Speed> KNOT
    A unit of velocity expressing the number of nautical miles per hour (abbreviation kn).
    static javax.measure.Unit<si.uom.quantity.Luminance> LAMBERT
    A unit of luminance equal to 1E4 Lx (standard name La).
    static javax.measure.Unit<javax.measure.quantity.Length> LIGHT_YEAR
    A unit of length equal to the distance that light travels in one year through a vacuum (standard name ly).
    static javax.measure.Unit<javax.measure.quantity.MagneticFlux> MAXWELL
    A unit of magnetic flux equal 1E-8 Wb (standard name Mx).
    static javax.measure.Unit<javax.measure.quantity.Pressure> MILLIMETRE_OF_MERCURY
    A unit of pressure equal to the pressure exerted at the Earth's surface by a column of mercury 1 millimeter high (standard name mmHg ).
    static javax.measure.Unit<javax.measure.quantity.Angle> MINUTE_ANGLE
    An angle unit accepted for use with SI units (standard name ').
    static javax.measure.Unit<javax.measure.quantity.Length> NAUTICAL_MILE
    A unit of length equal to 1852.0 m (standard name nmi).
    static javax.measure.Unit<si.uom.quantity.Level<javax.measure.quantity.Dimensionless>> NEPER  
    static javax.measure.Unit<si.uom.quantity.MagneticFieldStrength> OERSTED
    A unit of magnetic field strength equal (103/4pi) A m–1 (standard name Oe).
    static javax.measure.Unit<javax.measure.quantity.Length> PARSEC
    A unit of length equal to the distance at which a star would appear to shift its position by one arcsecond over the course the time (about 3 months) in which the Earth moves a distance of ASTRONOMICAL_UNIT in the direction perpendicular to the direction to the star (standard name pc).
    static javax.measure.Unit<javax.measure.quantity.Illuminance> PHOT
    A unit of illuminance equal to 1E4 Lx (standard name ph).
    static javax.measure.Unit<javax.measure.quantity.Dimensionless> PI
    A dimensionless unit equals to pi (standard name π).
    static javax.measure.Unit<si.uom.quantity.DynamicViscosity> POISE
    A unit of dynamic viscosity equal to 1 g/(cm·s) (cgs unit).
    static javax.measure.Unit<javax.measure.quantity.RadiationDoseAbsorbed> RAD
    A unit of radiation dose absorbed equal to a dose of 0.01 joule of energy per kilogram of mass (J/kg) (standard name rd).
    static javax.measure.Unit<javax.measure.quantity.Temperature> RANKINE
    A unit of temperature equal to 5/9 °K (standard name °R).
    static javax.measure.Unit<javax.measure.quantity.RadiationDoseEffective> REM
    A unit of radiation dose effective equal to 0.01 Sv (standard name rem).
    static javax.measure.Unit<javax.measure.quantity.Angle> REVOLUTION
    A unit of angle equal to a full circle or 2π Units.RADIAN (standard name rev).
    static javax.measure.Unit<si.uom.quantity.IonizingRadiation> ROENTGEN
    A unit used to measure the ionizing ability of radiation (standard name R).
    protected static javax.measure.Unit<javax.measure.quantity.Radioactivity> RUTHERFORD
    A unit of radioctive activity equal to 1 million radioactive disintegrations per second (standard name Rd).
    static javax.measure.Unit<javax.measure.quantity.Angle> SECOND_ANGLE
    An angle unit accepted for use with SI units (standard name '').
    protected static javax.measure.Unit<javax.measure.quantity.SolidAngle> SPHERE
    A unit of solid angle equal to 4 π steradians (standard name sphere).
    static javax.measure.Unit<javax.measure.quantity.Acceleration> STANDARD_GRAVITY
    Standard acceleration of free fall, sometimes abbreviated as standard gravity.
    static javax.measure.Unit<si.uom.quantity.Luminance> STILB  
    static javax.measure.Unit<si.uom.quantity.KinematicViscosity> STOKES
    A unit of kinematic viscosity equal to 1 cm²/s (cgs unit).
    static javax.measure.Unit<javax.measure.quantity.Mass> TONNE
    A mass unit accepted for use with SI units (standard name t).
    static javax.measure.Unit<javax.measure.quantity.Mass> UNIFIED_ATOMIC_MASS
    A mass unit accepted for use with SI units (standard name u).
    static javax.measure.Unit<javax.measure.quantity.Time> YEAR_CALENDAR
    A unit of duration equal to 365 #DAY (standard name year).
    static javax.measure.Unit<javax.measure.quantity.Time> YEAR_JULIEN
    The Julian year, as used in astronomy and other sciences, is a time unit defined as exactly 365.25 days.
    static javax.measure.Unit<javax.measure.quantity.Time> YEAR_SIDEREAL
    A unit of duration equal to one complete revolution of the earth about the sun, relative to the fixed stars, or 365 days, 6 hours, 9 minutes, 9.54 seconds (standard name year_sidereal).

    Fields inherited from class tech.units.indriya.AbstractSystemOfUnits

    logger, quantityToUnit, units
  • Method Summary

    Modifier and Type Method Description
    static NonSI getInstance()
    Returns the unique instance of this class.
    String getName()  

    Methods inherited from class tech.units.indriya.AbstractSystemOfUnits

    getUnit, getUnit, getUnit, getUnit, getUnits, getUnits

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • DEGREE_ANGLE

      public static final javax.measure.Unit<javax.measure.quantity.Angle> DEGREE_ANGLE
      An angle unit accepted for use with SI units (standard name deg).
    • MINUTE_ANGLE

      public static final javax.measure.Unit<javax.measure.quantity.Angle> MINUTE_ANGLE
      An angle unit accepted for use with SI units (standard name ').
    • SECOND_ANGLE

      public static final javax.measure.Unit<javax.measure.quantity.Angle> SECOND_ANGLE
      An angle unit accepted for use with SI units (standard name '').
    • ELECTRON_VOLT

      public static final javax.measure.Unit<javax.measure.quantity.Energy> ELECTRON_VOLT
      An energy unit accepted for use with SI units (standard name eV). The electronvolt is the kinetic energy acquired by an electron passing through a potential difference of 1 V in vacuum. The value must be obtained by experiment, and is therefore not known exactly.
    • UNIFIED_ATOMIC_MASS

      public static final javax.measure.Unit<javax.measure.quantity.Mass> UNIFIED_ATOMIC_MASS
      A mass unit accepted for use with SI units (standard name u). The unified atomic mass unit is equal to 1/12 of the mass of an unbound atom of the nuclide 12C, at rest and in its ground state. The value must be obtained by experiment, and is therefore not known exactly.
    • DALTON

      public static final javax.measure.Unit<javax.measure.quantity.Mass> DALTON
      The dalton (Da) and the unified atomic mass unit (u) are alternative names (and symbols) for the same unit, equal to 1/12 times the mass of a free carbon 12 atom, at rest and in its ground state. The dalton is often combined with SI prefixes, for example to express the masses of large molecules in kilodaltons, kDa, or megadaltons, MDa, or to express the values of small mass differences of atoms or molecules in nanodaltons, nDa, or even picodaltons, pDa.
    • ASTRONOMICAL_UNIT

      public static final javax.measure.Unit<javax.measure.quantity.Length> ASTRONOMICAL_UNIT
      A length unit accepted for use with SI units (standard name UA). The astronomical unit is a unit of length. Its value is such that, when used to describe the motion of bodies in the solar system, the heliocentric gravitation constant is (0.017 202 098 95)2 ua3·d-2. The value must be obtained by experiment, and is therefore not known exactly.
    • HECTARE

      public static final javax.measure.Unit<javax.measure.quantity.Area> HECTARE
      An angle unit accepted for use with SI units (standard name ha).
    • PI

      public static final javax.measure.Unit<javax.measure.quantity.Dimensionless> PI
      A dimensionless unit equals to pi (standard name π).
    • ATOM

      public static final javax.measure.Unit<javax.measure.quantity.AmountOfSubstance> ATOM
      A unit of amount of substance equals to one atom (standard name atom).
    • ANGSTROM

      public static final javax.measure.Unit<javax.measure.quantity.Length> ANGSTROM
      A unit of length equal to 1E-10 m (standard name Å).
      See Also:
      Wikipedia: Ångström
    • LIGHT_YEAR

      public static final javax.measure.Unit<javax.measure.quantity.Length> LIGHT_YEAR
      A unit of length equal to the distance that light travels in one year through a vacuum (standard name ly).
    • PARSEC

      public static final javax.measure.Unit<javax.measure.quantity.Length> PARSEC
      A unit of length equal to the distance at which a star would appear to shift its position by one arcsecond over the course the time (about 3 months) in which the Earth moves a distance of ASTRONOMICAL_UNIT in the direction perpendicular to the direction to the star (standard name pc).
    • NAUTICAL_MILE

      public static final javax.measure.Unit<javax.measure.quantity.Length> NAUTICAL_MILE
      A unit of length equal to 1852.0 m (standard name nmi).
    • BOHR_RADIUS

      public static final javax.measure.Unit<javax.measure.quantity.Length> BOHR_RADIUS
      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.
    • BARN

      public static final javax.measure.Unit<javax.measure.quantity.Area> BARN
      A barn (symbol: b) is a unit of area equal to 10−28 m2 (100 fm2)
    • DAY_SIDEREAL

      public static final javax.measure.Unit<javax.measure.quantity.Time> DAY_SIDEREAL
      A unit of duration equal to the time required for a complete rotation of the earth in reference to any star or to the vernal equinox at the meridian, equal to 23 hours, 56 minutes, 4.09 seconds (standard name day_sidereal).
    • YEAR_CALENDAR

      public static final javax.measure.Unit<javax.measure.quantity.Time> YEAR_CALENDAR
      A unit of duration equal to 365 #DAY (standard name year).
    • YEAR_SIDEREAL

      public static final javax.measure.Unit<javax.measure.quantity.Time> YEAR_SIDEREAL
      A unit of duration equal to one complete revolution of the earth about the sun, relative to the fixed stars, or 365 days, 6 hours, 9 minutes, 9.54 seconds (standard name year_sidereal).
    • YEAR_JULIEN

      public static final javax.measure.Unit<javax.measure.quantity.Time> YEAR_JULIEN
      The Julian year, as used in astronomy and other sciences, is a time unit defined as exactly 365.25 days. This is the normal meaning of the unit "year" (symbol "a" from the Latin annus, annata) used in various scientific contexts.
    • ATOMIC_MASS

      public static final javax.measure.Unit<javax.measure.quantity.Mass> ATOMIC_MASS
      A unit of mass equal to 1/12 the mass of the carbon-12 atom (standard name u).
    • ELECTRON_MASS

      public static final javax.measure.Unit<javax.measure.quantity.Mass> ELECTRON_MASS
      A unit of mass equal to the mass of the electron (standard name me).
    • TONNE

      public static final javax.measure.Unit<javax.measure.quantity.Mass> TONNE
      A mass unit accepted for use with SI units (standard name t).
    • FARADAY

      public static final javax.measure.Unit<javax.measure.quantity.ElectricCharge> FARADAY
      A unit of electric charge equal to equal to the product of Avogadro's number (see Units.MOLE) and the charge (1 e) on a single electron (standard name Fd).
    • FRANKLIN

      public static final javax.measure.Unit<javax.measure.quantity.ElectricCharge> FRANKLIN
      A unit of electric charge which exerts a force of one dyne on an equal charge at a distance of one centimeter (standard name Fr).
    • RANKINE

      public static final javax.measure.Unit<javax.measure.quantity.Temperature> RANKINE
      A unit of temperature equal to 5/9 °K (standard name °R).
    • REVOLUTION

      public static final javax.measure.Unit<javax.measure.quantity.Angle> REVOLUTION
      A unit of angle equal to a full circle or 2π Units.RADIAN (standard name rev).
    • C

      public static final javax.measure.Unit<javax.measure.quantity.Speed> C
      The Natural Unit of Speed, a unit of velocity relative to the speed of light (standard name c).
    • KNOT

      public static final javax.measure.Unit<javax.measure.quantity.Speed> KNOT
      A unit of velocity expressing the number of nautical miles per hour (abbreviation kn).
    • STANDARD_GRAVITY

      public static final javax.measure.Unit<javax.measure.quantity.Acceleration> STANDARD_GRAVITY
      Standard acceleration of free fall, sometimes abbreviated as standard gravity. A unit of acceleration equal to the gravity at the earth's surface (standard name gn).
    • GAL

      public static final javax.measure.Unit<javax.measure.quantity.Acceleration> GAL
      A unit of acceleration equal to 1 cm s2 (standard name Gal).
    • GILBERT

      public static final javax.measure.Unit<javax.measure.quantity.ElectricCurrent> GILBERT
      A unit of electric charge equal to the centimeter-gram-second electromagnetic unit of magnetomotive force, equal to 10/4 πampere-turn (standard name Gi).
    • ERG

      public static final javax.measure.Unit<javax.measure.quantity.Energy> ERG
      A unit of energy equal to 1E-7 J (standard name erg).
    • STILB

      public static final javax.measure.Unit<si.uom.quantity.Luminance> STILB
    • LAMBERT

      public static final javax.measure.Unit<si.uom.quantity.Luminance> LAMBERT
      A unit of luminance equal to 1E4 Lx (standard name La).
    • PHOT

      public static final javax.measure.Unit<javax.measure.quantity.Illuminance> PHOT
      A unit of illuminance equal to 1E4 Lx (standard name ph).
    • MAXWELL

      public static final javax.measure.Unit<javax.measure.quantity.MagneticFlux> MAXWELL
      A unit of magnetic flux equal 1E-8 Wb (standard name Mx).
    • GAUSS

      public static final javax.measure.Unit<javax.measure.quantity.MagneticFluxDensity> GAUSS
      A unit of magnetic flux density equal 1000 A/m (standard name G).
    • OERSTED

      public static final javax.measure.Unit<si.uom.quantity.MagneticFieldStrength> OERSTED
      A unit of magnetic field strength equal (103/4pi) A m–1 (standard name Oe).
    • DYNE

      public static final javax.measure.Unit<javax.measure.quantity.Force> DYNE
      A unit of force equal to 1E-5 N (standard name dyn).
    • KILOGRAM_FORCE

      public static final javax.measure.Unit<javax.measure.quantity.Force> KILOGRAM_FORCE
      A unit of force equal to 9.80665 N (standard name kgf).
    • HORSEPOWER

      public static final javax.measure.Unit<javax.measure.quantity.Power> HORSEPOWER
      A unit of power equal to the power required to raise a mass of 75 kilograms at a velocity of 1 meter per second (metric, standard name hp).
    • BAR

      public static final javax.measure.Unit<javax.measure.quantity.Pressure> BAR
      A unit of pressure equal to 100 kPa (standard name bar).
    • MILLIMETRE_OF_MERCURY

      public static final javax.measure.Unit<javax.measure.quantity.Pressure> MILLIMETRE_OF_MERCURY
      A unit of pressure equal to the pressure exerted at the Earth's surface by a column of mercury 1 millimeter high (standard name mmHg ).
    • INCH_OF_MERCURY

      public static final javax.measure.Unit<javax.measure.quantity.Pressure> INCH_OF_MERCURY
      A unit of pressure equal to the pressure exerted at the Earth's surface by a column of mercury 1 inch high (standard name inHg).
    • RAD

      public static final javax.measure.Unit<javax.measure.quantity.RadiationDoseAbsorbed> RAD
      A unit of radiation dose absorbed equal to a dose of 0.01 joule of energy per kilogram of mass (J/kg) (standard name rd).
    • REM

      public static final javax.measure.Unit<javax.measure.quantity.RadiationDoseEffective> REM
      A unit of radiation dose effective equal to 0.01 Sv (standard name rem).
    • CURIE

      public static final javax.measure.Unit<javax.measure.quantity.Radioactivity> CURIE
      A unit of radioctive activity equal to the activity of a gram of radium (standard name Ci).
    • RUTHERFORD

      protected static final javax.measure.Unit<javax.measure.quantity.Radioactivity> RUTHERFORD
      A unit of radioctive activity equal to 1 million radioactive disintegrations per second (standard name Rd).
    • SPHERE

      protected static final javax.measure.Unit<javax.measure.quantity.SolidAngle> SPHERE
      A unit of solid angle equal to 4 π steradians (standard name sphere).
    • POISE

      public static final javax.measure.Unit<si.uom.quantity.DynamicViscosity> POISE
      A unit of dynamic viscosity equal to 1 g/(cm·s) (cgs unit).
    • STOKES

      public static final javax.measure.Unit<si.uom.quantity.KinematicViscosity> STOKES
      A unit of kinematic viscosity equal to 1 cm²/s (cgs unit).
    • FRAMES_PER_SECOND

      protected static final javax.measure.Unit<javax.measure.quantity.Frequency> FRAMES_PER_SECOND
      A unit used to measure the frequency (rate) at which an imaging device produces unique consecutive images (standard name fps).
    • ROENTGEN

      public static final javax.measure.Unit<si.uom.quantity.IonizingRadiation> ROENTGEN
      A unit used to measure the ionizing ability of radiation (standard name R).
      See Also:
      Wikipedia: Roentgen
    • BEL

      public static final javax.measure.Unit<si.uom.quantity.Level<javax.measure.quantity.Dimensionless>> BEL
    • NEPER

      public static final javax.measure.Unit<si.uom.quantity.Level<javax.measure.quantity.Dimensionless>> NEPER
  • Method Details

    • getInstance

      public static NonSI getInstance()
      Returns the unique instance of this class.
      Returns:
      the NonSI instance.
    • getName

      public String getName()
      Specified by:
      getName in interface tech.uom.lib.common.function.Nameable
      Specified by:
      getName in interface javax.measure.spi.SystemOfUnits
      Specified by:
      getName in class tech.units.indriya.AbstractSystemOfUnits