JSR-275 - Measurements and Units Specification

javax.measure.unit
Class NonSI

java.lang.Object
  extended by javax.measure.unit.NonSI

public final class NonSI
extends java.lang.Object

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

A collection of all the NonSI units defined can be retrieved using the NonSI.units() static method.

Version:
3.1, April 22, 2006
Author:
Jean-Marie Dautelle

Field Summary
static Unit<Length> ANGSTROM
          A unit of length equal to 1E-10 m (standard name Å).
static Unit<Area> ARE
          A unit of area equal to 100 m² (standard name a).
static Unit<Length> ASTRONOMICAL_UNIT
          A unit of length equal to the average distance from the center of the Earth to the center of the Sun (standard name ua).
static Unit<Pressure> ATMOSPHERE
          A unit of pressure equal to the average pressure of the Earth's atmosphere at sea level (standard name atm).
static Unit<AmountOfSubstance> ATOM
          A unit of amount of substance equals to one atom (standard name atom).
static Unit<Mass> ATOMIC_MASS
          A unit of mass equal to 1/12 the mass of the carbon-12 atom (standard name u).
static Unit<Pressure> BAR
          A unit of pressure equal to 100 kPa (standard name bar).
static Unit<DataAmount> BYTE
          A unit of data amount equal to 8 SI.BIT (BinarY TErm, standard name byte).
static Unit<Velocity> C
          A unit of velocity relative to the speed of light (standard name c).
static Unit<Angle> CENTIRADIAN
          A unit of angle equal to 0.01 SI.RADIAN (standard name centiradian).
static Unit<Length> COMPUTER_POINT
          Equivalent PIXEL
static Unit<Volume> CUBIC_INCH
          A unit of volume equal to one cubic inch (in³).
static Unit<RadioactiveActivity> CURIE
          A unit of radioctive activity equal to the activity of a gram of radium (standard name Ci).
static Unit<Duration> DAY
          A unit of duration equal to 24 HOUR (standard name d).
static Unit<Duration> 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 Unit<Dimensionless> DECIBEL
          A logarithmic unit used to describe a ratio (standard name dB).
static Unit<Angle> DEGREE_ANGLE
          A unit of angle equal to 1/360 REVOLUTION (standard name °).
static Unit<Force> DYNE
          A unit of force equal to 1E-5 N (standard name dyn).
static Unit<ElectricCharge> E
          A unit of electric charge equal to the charge on one electron (standard name e).
static Unit<Mass> ELECTRON_MASS
          A unit of mass equal to the mass of the electron (standard name me).
static Unit<Energy> ELECTRON_VOLT
          A unit of energy equal to one electron-volt (standard name eV, also recognized keV, MeV, GeV).
static Unit<Energy> ERG
          A unit of energy equal to 1E-7 J (standard name erg).
static Unit<Temperature> FAHRENHEIT
          A unit of temperature equal to degree Rankine minus 459.67 °R (standard name °F).
static Unit<ElectricCharge> FARADAY
          A unit of electric charge equal to equal to the product of Avogadro's number (see SI.MOLE) and the charge (1 e) on a single electron (standard name Fd).
static Unit<Length> FOOT
          A unit of length equal to 0.3048 m (standard name ft).
static Unit<Length> FOOT_SURVEY_US
          A unit of length equal to 1200/3937 m (standard name foot_survey_us).
static Unit<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 Unit<Acceleration> G
          A unit of acceleration equal to the gravity at the earth's surface (standard name grav).
static Unit<Volume> GALLON_DRY_US
          A unit of volume equal to one US dry gallon.
static Unit<Volume> GALLON_LIQUID_US
          A unit of volume equal to one US gallon, Liquid Unit.
static Unit<Volume> GALLON_UK
          A unit of volume equal to 4.546 09 LITER (standard name gal_uk).
static Unit<MagneticFluxDensity> GAUSS
          A unit of magnetic flux density equal 1000 A/m (standard name G).
static Unit<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 Unit<Angle> GRADE
          A unit of angle measure equal to 1/400 REVOLUTION (standard name grade).
static Unit<Area> HECTARE
          A unit of area equal to 100 ARE (standard name ha).
static Unit<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 Unit<Duration> HOUR
          A unit of duration equal to 60 MINUTE (standard name h).
static Unit<Length> INCH
          A unit of length equal to 0.0254 m (standard name in).
static Unit<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 Unit<Force> KILOGRAM_FORCE
          A unit of force equal to 9.80665 N (standard name kgf).
static Unit<Velocity> KNOT
          A unit of velocity equal to one NAUTICAL_MILE per HOUR (standard name Mach).
static Unit<Illuminance> LAMBERT
          A unit of illuminance equal to 1E4 Lx (standard name La).
static Unit<Length> LIGHT_YEAR
          A unit of length equal to the distance that light travels in one year through a vacuum (standard name ly).
static Unit<Volume> LITER
          A unit of volume equal to one cubic decimeter (default label L, also recognized µL, mL, cL, dL).
static Unit<Velocity> MACH
          A unit of velocity to express the speed of an aircraft relative to the speed of sound (standard name Mach).
static Unit<MagneticFlux> MAXWELL
          A unit of magnetic flux equal 1E-8 Wb (standard name Mx).
static Unit<Mass> METRIC_TON
          A unit of mass equal to 1000 kg (metric ton, standard name t).
static Unit<Length> MILE
          A unit of length equal to 1609.344 m (standard name mi).
static Unit<Pressure> MILLIMETER_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 Unit<Duration> MINUTE
          A unit of duration equal to 60 s (standard name min).
static Unit<Angle> MINUTE_ANGLE
          A unit of angle equal to 1/60 DEGREE_ANGLE (standard name ).
static Unit<Duration> MONTH
          A unit of duration equal to one twelfth of a year (standard name month).
static Unit<Length> NAUTICAL_MILE
          A unit of length equal to 1852.0 m (standard name nmi).
static Unit<DataAmount> OCTET
          Equivalent BYTE
static Unit<Mass> OUNCE
          A unit of mass equal to 1 / 16 POUND (standard name oz).
static Unit<Volume> OUNCE_LIQUID_UK
          A unit of volume equal to 1 / 160 GALLON_UK (standard name oz_fl_uk).
static Unit<Volume> OUNCE_LIQUID_US
          A unit of volume equal to 1 / 128 GALLON_LIQUID_US (standard name oz_fl).
static Unit<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 Unit<Dimensionless> PERCENT
          A dimensionless unit equals to 0.01 (standard name %).
static Unit<Length> PIXEL
          A unit of length equal to 1/72 INCH (standard name pixel).
static Unit<Length> POINT
          A unit of length equal to 0.013837 INCH exactly (standard name pt).
static Unit<DynamicViscosity> POISE
          A unit of dynamic viscosity equal to 1 g/(cm·s) (cgs unit).
static Unit<Mass> POUND
          A unit of mass equal to 453.59237 grams (avoirdupois pound, standard name lb).
static Unit<Force> POUND_FORCE
          A unit of force equal to POUND·G (standard name lbf).
static Unit<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 Unit<Temperature> RANKINE
          A unit of temperature equal to 5/9 °K (standard name °R).
static Unit<RadiationDoseEffective> REM
          A unit of radiation dose effective equal to 0.01 Sv (standard name rem).
static Unit<Angle> REVOLUTION
          A unit of angle equal to a full circle or 2π SI.RADIAN (standard name rev).
static Unit<?> ROENTGEN
          A unit used to measure the ionizing ability of radiation (standard name Roentgen).
static Unit<RadioactiveActivity> RUTHERFORD
          A unit of radioctive activity equal to 1 million radioactive disintegrations per second (standard name Rd).
static Unit<Angle> SECOND_ANGLE
          A unit of angle equal to 1/60 MINUTE_ANGLE (standard name ").
static Unit<SolidAngle> SPHERE
          A unit of solid angle equal to 4 π steradians (standard name sphere).
static Unit<KinematicViscosity> STOKE
          A unit of kinematic viscosity equal to 1 cm²/s (cgs unit).
static Unit<Mass> TON_UK
          A unit of mass equal to 2240 POUND (long ton, standard name ton_uk).
static Unit<Mass> TON_US
          A unit of mass equal to 2000 POUND (short ton, standard name ton_us).
static Unit<Duration> WEEK
          A unit of duration equal to 7 DAY (standard name week).
static Unit<Length> YARD
          A unit of length equal to 0.9144 m (standard name yd).
static Unit<Duration> YEAR
          A unit of duration equal to 365 days, 5 hours, 49 minutes, and 12 seconds (standard name year).
static Unit<Duration> YEAR_CALENDAR
          A unit of duration equal to 365 DAY (standard name year_calendar).
static Unit<Duration> 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).
 
Method Summary
static java.util.Set<Unit<?>> units()
          Returns a read only view over the SI units defined in this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PERCENT

public static final Unit<Dimensionless> PERCENT
A dimensionless unit equals to 0.01 (standard name %).


DECIBEL

public static final Unit<Dimensionless> DECIBEL
A logarithmic unit used to describe a ratio (standard name dB).


G

public static final Unit<Acceleration> G
A unit of acceleration equal to the gravity at the earth's surface (standard name grav).


ATOM

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


REVOLUTION

public static final Unit<Angle> REVOLUTION
A unit of angle equal to a full circle or 2π SI.RADIAN (standard name rev).


DEGREE_ANGLE

public static final Unit<Angle> DEGREE_ANGLE
A unit of angle equal to 1/360 REVOLUTION (standard name °).


MINUTE_ANGLE

public static final Unit<Angle> MINUTE_ANGLE
A unit of angle equal to 1/60 DEGREE_ANGLE (standard name ).


SECOND_ANGLE

public static final Unit<Angle> SECOND_ANGLE
A unit of angle equal to 1/60 MINUTE_ANGLE (standard name ").


CENTIRADIAN

public static final Unit<Angle> CENTIRADIAN
A unit of angle equal to 0.01 SI.RADIAN (standard name centiradian).


GRADE

public static final Unit<Angle> GRADE
A unit of angle measure equal to 1/400 REVOLUTION (standard name grade).


ARE

public static final Unit<Area> ARE
A unit of area equal to 100 m² (standard name a).


HECTARE

public static final Unit<Area> HECTARE
A unit of area equal to 100 ARE (standard name ha).


BYTE

public static final Unit<DataAmount> BYTE
A unit of data amount equal to 8 SI.BIT (BinarY TErm, standard name byte).


OCTET

public static final Unit<DataAmount> OCTET
Equivalent BYTE


MINUTE

public static final Unit<Duration> MINUTE
A unit of duration equal to 60 s (standard name min).


HOUR

public static final Unit<Duration> HOUR
A unit of duration equal to 60 MINUTE (standard name h).


DAY

public static final Unit<Duration> DAY
A unit of duration equal to 24 HOUR (standard name d).


WEEK

public static final Unit<Duration> WEEK
A unit of duration equal to 7 DAY (standard name week).


YEAR

public static final Unit<Duration> YEAR
A unit of duration equal to 365 days, 5 hours, 49 minutes, and 12 seconds (standard name year).


MONTH

public static final Unit<Duration> MONTH
A unit of duration equal to one twelfth of a year (standard name month).


DAY_SIDEREAL

public static final Unit<Duration> 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_SIDEREAL

public static final Unit<Duration> 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_CALENDAR

public static final Unit<Duration> YEAR_CALENDAR
A unit of duration equal to 365 DAY (standard name year_calendar).


E

public static final Unit<ElectricCharge> E
A unit of electric charge equal to the charge on one electron (standard name e).


FARADAY

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


FRANKLIN

public static final Unit<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).


GILBERT

public static final Unit<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 Unit<Energy> ERG
A unit of energy equal to 1E-7 J (standard name erg).


ELECTRON_VOLT

public static final Unit<Energy> ELECTRON_VOLT
A unit of energy equal to one electron-volt (standard name eV, also recognized keV, MeV, GeV).


LAMBERT

public static final Unit<Illuminance> LAMBERT
A unit of illuminance equal to 1E4 Lx (standard name La).


FOOT

public static final Unit<Length> FOOT
A unit of length equal to 0.3048 m (standard name ft).


FOOT_SURVEY_US

public static final Unit<Length> FOOT_SURVEY_US
A unit of length equal to 1200/3937 m (standard name foot_survey_us). See also: foot


YARD

public static final Unit<Length> YARD
A unit of length equal to 0.9144 m (standard name yd).


INCH

public static final Unit<Length> INCH
A unit of length equal to 0.0254 m (standard name in).


MILE

public static final Unit<Length> MILE
A unit of length equal to 1609.344 m (standard name mi).


NAUTICAL_MILE

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


ANGSTROM

public static final Unit<Length> ANGSTROM
A unit of length equal to 1E-10 m (standard name Å).


ASTRONOMICAL_UNIT

public static final Unit<Length> ASTRONOMICAL_UNIT
A unit of length equal to the average distance from the center of the Earth to the center of the Sun (standard name ua).


LIGHT_YEAR

public static final Unit<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 Unit<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).


POINT

public static final Unit<Length> POINT
A unit of length equal to 0.013837 INCH exactly (standard name pt).

See Also:
PIXEL

PIXEL

public static final Unit<Length> PIXEL
A unit of length equal to 1/72 INCH (standard name pixel). It is the American point rounded to an even 1/72 inch.

See Also:
POINT

COMPUTER_POINT

public static final Unit<Length> COMPUTER_POINT
Equivalent PIXEL


MAXWELL

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


GAUSS

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


ATOMIC_MASS

public static final Unit<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 Unit<Mass> ELECTRON_MASS
A unit of mass equal to the mass of the electron (standard name me).


POUND

public static final Unit<Mass> POUND
A unit of mass equal to 453.59237 grams (avoirdupois pound, standard name lb).


OUNCE

public static final Unit<Mass> OUNCE
A unit of mass equal to 1 / 16 POUND (standard name oz).


TON_US

public static final Unit<Mass> TON_US
A unit of mass equal to 2000 POUND (short ton, standard name ton_us).


TON_UK

public static final Unit<Mass> TON_UK
A unit of mass equal to 2240 POUND (long ton, standard name ton_uk).


METRIC_TON

public static final Unit<Mass> METRIC_TON
A unit of mass equal to 1000 kg (metric ton, standard name t).


DYNE

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


KILOGRAM_FORCE

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


POUND_FORCE

public static final Unit<Force> POUND_FORCE
A unit of force equal to POUND·G (standard name lbf).


HORSEPOWER

public static final Unit<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).


ATMOSPHERE

public static final Unit<Pressure> ATMOSPHERE
A unit of pressure equal to the average pressure of the Earth's atmosphere at sea level (standard name atm).


BAR

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


MILLIMETER_OF_MERCURY

public static final Unit<Pressure> MILLIMETER_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 Unit<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 Unit<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 Unit<RadiationDoseEffective> REM
A unit of radiation dose effective equal to 0.01 Sv (standard name rem).


CURIE

public static final Unit<RadioactiveActivity> CURIE
A unit of radioctive activity equal to the activity of a gram of radium (standard name Ci).


RUTHERFORD

public static final Unit<RadioactiveActivity> RUTHERFORD
A unit of radioctive activity equal to 1 million radioactive disintegrations per second (standard name Rd).


SPHERE

public static final Unit<SolidAngle> SPHERE
A unit of solid angle equal to 4 π steradians (standard name sphere).


RANKINE

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


FAHRENHEIT

public static final Unit<Temperature> FAHRENHEIT
A unit of temperature equal to degree Rankine minus 459.67 °R (standard name °F).

See Also:
RANKINE

KNOT

public static final Unit<Velocity> KNOT
A unit of velocity equal to one NAUTICAL_MILE per HOUR (standard name Mach).


MACH

public static final Unit<Velocity> MACH
A unit of velocity to express the speed of an aircraft relative to the speed of sound (standard name Mach).


C

public static final Unit<Velocity> C
A unit of velocity relative to the speed of light (standard name c).


LITER

public static final Unit<Volume> LITER
A unit of volume equal to one cubic decimeter (default label L, also recognized µL, mL, cL, dL).


CUBIC_INCH

public static final Unit<Volume> CUBIC_INCH
A unit of volume equal to one cubic inch (in³).


GALLON_LIQUID_US

public static final Unit<Volume> GALLON_LIQUID_US
A unit of volume equal to one US gallon, Liquid Unit. The U.S. liquid gallon is based on the Queen Anne or Wine gallon occupying 231 cubic inches (standard name gal).


OUNCE_LIQUID_US

public static final Unit<Volume> OUNCE_LIQUID_US
A unit of volume equal to 1 / 128 GALLON_LIQUID_US (standard name oz_fl).


GALLON_DRY_US

public static final Unit<Volume> GALLON_DRY_US
A unit of volume equal to one US dry gallon. (standard name gallon_dry_us).


GALLON_UK

public static final Unit<Volume> GALLON_UK
A unit of volume equal to 4.546 09 LITER (standard name gal_uk).


OUNCE_LIQUID_UK

public static final Unit<Volume> OUNCE_LIQUID_UK
A unit of volume equal to 1 / 160 GALLON_UK (standard name oz_fl_uk).


POISE

public static final Unit<DynamicViscosity> POISE
A unit of dynamic viscosity equal to 1 g/(cm·s) (cgs unit).


STOKE

public static final Unit<KinematicViscosity> STOKE
A unit of kinematic viscosity equal to 1 cm²/s (cgs unit).


ROENTGEN

public static final Unit<?> ROENTGEN
A unit used to measure the ionizing ability of radiation (standard name Roentgen).

Method Detail

units

public static java.util.Set<Unit<?>> units()
Returns a read only view over the SI units defined in this class.

Returns:
the collection of SI units.

JSR-275 - Measurements and Units Specification

Copyright © 2007 JSR-275