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>ANGSTROMA unit of length equal to1E-10 m(standard nameÅ).static javax.measure.Unit<javax.measure.quantity.Length>ASTRONOMICAL_UNITA length unit accepted for use with SI units (standard nameUA).static javax.measure.Unit<javax.measure.quantity.AmountOfSubstance>ATOMA unit of amount of substance equals to one atom (standard nameatom).static javax.measure.Unit<javax.measure.quantity.Mass>ATOMIC_MASSA unit of mass equal to 1/12 the mass of the carbon-12 atom (standard nameu).static javax.measure.Unit<javax.measure.quantity.Pressure>BARA unit of pressure equal to100 kPa(standard namebar).static javax.measure.Unit<javax.measure.quantity.Area>BARNA barn (symbol:b) is a unit of area equal to 10−28m2(100fm2)static javax.measure.Unit<si.uom.quantity.Level<javax.measure.quantity.Dimensionless>>BELstatic javax.measure.Unit<javax.measure.quantity.Length>BOHR_RADIUSThe 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>CThe Natural Unit ofSpeed, a unit of velocity relative to the speed of light (standard namec).static javax.measure.Unit<javax.measure.quantity.Radioactivity>CURIEA unit of radioctive activity equal to the activity of a gram of radium (standard nameCi).static javax.measure.Unit<javax.measure.quantity.Mass>DALTONThe 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_SIDEREALA 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 nameday_sidereal).static javax.measure.Unit<javax.measure.quantity.Angle>DEGREE_ANGLEAn angle unit accepted for use with SI units (standard namedeg).static javax.measure.Unit<javax.measure.quantity.Force>DYNEA unit of force equal to1E-5 N(standard namedyn).static javax.measure.Unit<javax.measure.quantity.Mass>ELECTRON_MASSA unit of mass equal to the mass of the electron (standard nameme).static javax.measure.Unit<javax.measure.quantity.Energy>ELECTRON_VOLTAn energy unit accepted for use with SI units (standard nameeV).static javax.measure.Unit<javax.measure.quantity.Energy>ERGA unit of energy equal to1E-7 J(standard nameerg).static javax.measure.Unit<javax.measure.quantity.ElectricCharge>FARADAYA unit of electric charge equal to equal to the product of Avogadro's number (seeUnits.MOLE) and the charge (1 e) on a single electron (standard nameFd).protected static javax.measure.Unit<javax.measure.quantity.Frequency>FRAMES_PER_SECONDA unit used to measure the frequency (rate) at which an imaging device produces unique consecutive images (standard namefps).static javax.measure.Unit<javax.measure.quantity.ElectricCharge>FRANKLINA unit of electric charge which exerts a force of one dyne on an equal charge at a distance of one centimeter (standard nameFr).static javax.measure.Unit<javax.measure.quantity.Acceleration>GALA unit of acceleration equal to1 cm s2(standard nameGal).static javax.measure.Unit<javax.measure.quantity.MagneticFluxDensity>GAUSSA unit of magnetic flux density equal1000 A/m(standard nameG).static javax.measure.Unit<javax.measure.quantity.ElectricCurrent>GILBERTA unit of electric charge equal to the centimeter-gram-second electromagnetic unit of magnetomotive force, equal to10/4 πampere-turn(standard nameGi).static javax.measure.Unit<javax.measure.quantity.Area>HECTAREAn angle unit accepted for use with SI units (standard nameha).static javax.measure.Unit<javax.measure.quantity.Power>HORSEPOWERA 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 namehp).static javax.measure.Unit<javax.measure.quantity.Pressure>INCH_OF_MERCURYA unit of pressure equal to the pressure exerted at the Earth's surface by a column of mercury 1 inch high (standard nameinHg).static javax.measure.Unit<javax.measure.quantity.Force>KILOGRAM_FORCEA unit of force equal to9.80665 N(standard namekgf).static javax.measure.Unit<javax.measure.quantity.Speed>KNOTstatic javax.measure.Unit<si.uom.quantity.Luminance>LAMBERTA unit of luminance equal to1E4 Lx(standard nameLa).static javax.measure.Unit<javax.measure.quantity.Length>LIGHT_YEARA unit of length equal to the distance that light travels in one year through a vacuum (standard namely).static javax.measure.Unit<javax.measure.quantity.MagneticFlux>MAXWELLA unit of magnetic flux equal1E-8 Wb(standard nameMx).static javax.measure.Unit<javax.measure.quantity.Pressure>MILLIMETRE_OF_MERCURYA unit of pressure equal to the pressure exerted at the Earth's surface by a column of mercury 1 millimeter high (standard namemmHg).static javax.measure.Unit<javax.measure.quantity.Angle>MINUTE_ANGLEAn angle unit accepted for use with SI units (standard name').static javax.measure.Unit<javax.measure.quantity.Length>NAUTICAL_MILEA unit of length equal to1852.0 m(standard namenmi).static javax.measure.Unit<si.uom.quantity.Level<javax.measure.quantity.Dimensionless>>NEPERstatic javax.measure.Unit<si.uom.quantity.MagneticFieldStrength>OERSTEDA unit of magnetic field strength equal(103/4pi) A m–1(standard nameOe).static javax.measure.Unit<javax.measure.quantity.Length>PARSECA 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 ofASTRONOMICAL_UNITin the direction perpendicular to the direction to the star (standard namepc).static javax.measure.Unit<javax.measure.quantity.Illuminance>PHOTA unit of illuminance equal to1E4 Lx(standard nameph).static javax.measure.Unit<javax.measure.quantity.Dimensionless>PIA dimensionless unit equals topi(standard nameÏ€).static javax.measure.Unit<si.uom.quantity.DynamicViscosity>POISEA unit of dynamic viscosity equal to1 g/(cm·s)(cgs unit).static javax.measure.Unit<javax.measure.quantity.RadiationDoseAbsorbed>RADA unit of radiation dose absorbed equal to a dose of 0.01 joule of energy per kilogram of mass (J/kg) (standard namerd).static javax.measure.Unit<javax.measure.quantity.Temperature>RANKINEA unit of temperature equal to5/9 °K(standard name°R).static javax.measure.Unit<javax.measure.quantity.RadiationDoseEffective>REMA unit of radiation dose effective equal to0.01 Sv(standard namerem).static javax.measure.Unit<javax.measure.quantity.Angle>REVOLUTIONA unit of angle equal to a full circle or2π(standard nameUnits.RADIANrev).static javax.measure.Unit<si.uom.quantity.IonizingRadiation>ROENTGENA unit used to measure the ionizing ability of radiation (standard nameR).protected static javax.measure.Unit<javax.measure.quantity.Radioactivity>RUTHERFORDA unit of radioctive activity equal to 1 million radioactive disintegrations per second (standard nameRd).static javax.measure.Unit<javax.measure.quantity.Angle>SECOND_ANGLEAn angle unit accepted for use with SI units (standard name'').protected static javax.measure.Unit<javax.measure.quantity.SolidAngle>SPHEREA unit of solid angle equal to4 π steradians(standard namesphere).static javax.measure.Unit<javax.measure.quantity.Acceleration>STANDARD_GRAVITYStandard acceleration of free fall, sometimes abbreviated as standard gravity.static javax.measure.Unit<si.uom.quantity.Luminance>STILBstatic javax.measure.Unit<si.uom.quantity.KinematicViscosity>STOKESA unit of kinematic viscosity equal to1 cm²/s(cgs unit).static javax.measure.Unit<javax.measure.quantity.Mass>TONNEA mass unit accepted for use with SI units (standard namet).static javax.measure.Unit<javax.measure.quantity.Mass>UNIFIED_ATOMIC_MASSA mass unit accepted for use with SI units (standard nameu).static javax.measure.Unit<javax.measure.quantity.Time>YEAR_CALENDARA unit of duration equal to 365#DAY(standard nameyear).static javax.measure.Unit<javax.measure.quantity.Time>YEAR_JULIENThe 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_SIDEREALA 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 nameyear_sidereal).Fields inherited from class tech.units.indriya.AbstractSystemOfUnits
logger, quantityToUnit, units -
Method Summary
Modifier and Type Method Description static NonSIgetInstance()Returns the unique instance of this class.StringgetName()Methods inherited from class tech.units.indriya.AbstractSystemOfUnits
getUnit, getUnit, getUnit, getUnit, getUnits, getUnits
-
Field Details
-
DEGREE_ANGLE
An angle unit accepted for use with SI units (standard namedeg). -
MINUTE_ANGLE
An angle unit accepted for use with SI units (standard name'). -
SECOND_ANGLE
An angle unit accepted for use with SI units (standard name''). -
ELECTRON_VOLT
An energy unit accepted for use with SI units (standard nameeV). 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
A mass unit accepted for use with SI units (standard nameu). 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
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
A length unit accepted for use with SI units (standard nameUA). 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
An angle unit accepted for use with SI units (standard nameha). -
PI
A dimensionless unit equals topi(standard nameπ). -
ATOM
A unit of amount of substance equals to one atom (standard nameatom). -
ANGSTROM
A unit of length equal to1E-10 m(standard nameÅ).- See Also:
- Wikipedia: Ångström
-
LIGHT_YEAR
A unit of length equal to the distance that light travels in one year through a vacuum (standard namely). -
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 ofASTRONOMICAL_UNITin the direction perpendicular to the direction to the star (standard namepc). -
NAUTICAL_MILE
A unit of length equal to1852.0 m(standard namenmi). -
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
A barn (symbol:b) is a unit of area equal to 10−28m2(100fm2) -
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 nameday_sidereal). -
YEAR_CALENDAR
A unit of duration equal to 365#DAY(standard nameyear). -
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 nameyear_sidereal). -
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
A unit of mass equal to 1/12 the mass of the carbon-12 atom (standard nameu). -
ELECTRON_MASS
A unit of mass equal to the mass of the electron (standard nameme). -
TONNE
A mass unit accepted for use with SI units (standard namet). -
FARADAY
A unit of electric charge equal to equal to the product of Avogadro's number (seeUnits.MOLE) and the charge (1 e) on a single electron (standard nameFd). -
FRANKLIN
A unit of electric charge which exerts a force of one dyne on an equal charge at a distance of one centimeter (standard nameFr). -
RANKINE
A unit of temperature equal to5/9 °K(standard name°R). -
REVOLUTION
A unit of angle equal to a full circle or2π(standard nameUnits.RADIANrev). -
C
The Natural Unit ofSpeed, a unit of velocity relative to the speed of light (standard namec). -
KNOT
-
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 namegn). -
GAL
A unit of acceleration equal to1 cm s2(standard nameGal). -
GILBERT
A unit of electric charge equal to the centimeter-gram-second electromagnetic unit of magnetomotive force, equal to10/4 πampere-turn(standard nameGi). -
ERG
A unit of energy equal to1E-7 J(standard nameerg). -
STILB
-
LAMBERT
A unit of luminance equal to1E4 Lx(standard nameLa). -
PHOT
A unit of illuminance equal to1E4 Lx(standard nameph). -
MAXWELL
A unit of magnetic flux equal1E-8 Wb(standard nameMx). -
GAUSS
A unit of magnetic flux density equal1000 A/m(standard nameG). -
OERSTED
A unit of magnetic field strength equal(103/4pi) A m–1(standard nameOe). -
DYNE
A unit of force equal to1E-5 N(standard namedyn). -
KILOGRAM_FORCE
A unit of force equal to9.80665 N(standard namekgf). -
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 namehp). -
BAR
A unit of pressure equal to100 kPa(standard namebar). -
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 namemmHg). -
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 nameinHg). -
RAD
A unit of radiation dose absorbed equal to a dose of 0.01 joule of energy per kilogram of mass (J/kg) (standard namerd). -
REM
A unit of radiation dose effective equal to0.01 Sv(standard namerem). -
CURIE
A unit of radioctive activity equal to the activity of a gram of radium (standard nameCi). -
RUTHERFORD
A unit of radioctive activity equal to 1 million radioactive disintegrations per second (standard nameRd). -
SPHERE
A unit of solid angle equal to4 π steradians(standard namesphere). -
POISE
A unit of dynamic viscosity equal to1 g/(cm·s)(cgs unit). -
STOKES
A unit of kinematic viscosity equal to1 cm²/s(cgs unit). -
FRAMES_PER_SECOND
A unit used to measure the frequency (rate) at which an imaging device produces unique consecutive images (standard namefps). -
ROENTGEN
A unit used to measure the ionizing ability of radiation (standard nameR).- 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
Returns the unique instance of this class.- Returns:
- the NonSI instance.
-
getName
- Specified by:
getNamein interfacetech.uom.lib.common.function.Nameable- Specified by:
getNamein interfacejavax.measure.spi.SystemOfUnits- Specified by:
getNamein classtech.units.indriya.AbstractSystemOfUnits
-