public class Units extends AbstractSystemOfUnits
This class defines common units.
AbstractSystemOfUnits.Helper| Modifier and Type | Field and Description |
|---|---|
static javax.measure.Unit<javax.measure.quantity.ElectricCurrent> |
AMPERE
The ampere, symbol A, is the SI unit of electric current.
|
static javax.measure.Unit<javax.measure.quantity.Radioactivity> |
BECQUEREL
The SI unit for activity of a radionuclide (standard name
Bq ). |
static javax.measure.Unit<javax.measure.quantity.LuminousIntensity> |
CANDELA
The candela, symbol cd, is the SI unit of luminous intensity in a given
direction.
|
static javax.measure.Unit<javax.measure.quantity.Temperature> |
CELSIUS
The SI unit for Celsius temperature (standard name
°C). |
static javax.measure.Unit<javax.measure.quantity.ElectricCharge> |
COULOMB
The SI unit for electric charge, quantity of electricity (standard name
C). |
static javax.measure.Unit<javax.measure.quantity.Volume> |
CUBIC_METRE
The SI unit for volume quantities (standard name
m3). |
static javax.measure.Unit<javax.measure.quantity.Time> |
DAY
A time unit accepted for use with SI units (standard name
d ). |
static javax.measure.Unit<javax.measure.quantity.ElectricCapacitance> |
FARAD
The SI unit for capacitance (standard name
F). |
static javax.measure.Unit<javax.measure.quantity.Mass> |
GRAM
The SI derived unit for mass quantities (standard name
g). |
static javax.measure.Unit<javax.measure.quantity.RadiationDoseAbsorbed> |
GRAY
The SI unit for absorbed dose, specific energy (imparted), kerma (standard
name
Gy). |
static javax.measure.Unit<javax.measure.quantity.ElectricInductance> |
HENRY
The alternate unit for inductance (standard name
H). |
static javax.measure.Unit<javax.measure.quantity.Frequency> |
HERTZ
The SI unit for frequency (standard name
Hz). |
static javax.measure.Unit<javax.measure.quantity.Time> |
HOUR
A time unit accepted for use with SI units (standard name
h ). |
static javax.measure.Unit<javax.measure.quantity.Energy> |
JOULE
The SI unit for energy, work, quantity of heat (
J). |
static javax.measure.Unit<javax.measure.quantity.CatalyticActivity> |
KATAL
The SI unit for catalytic activity (standard name
kat). |
static javax.measure.Unit<javax.measure.quantity.Temperature> |
KELVIN
The kelvin, symbol K, is the SI unit of thermodynamic temperature.
|
static javax.measure.Unit<javax.measure.quantity.Mass> |
KILOGRAM
The kilogram, symbol kg, is the SI unit of mass.
|
static javax.measure.Unit<javax.measure.quantity.Speed> |
KILOMETRE_PER_HOUR
|
static javax.measure.Unit<javax.measure.quantity.Volume> |
LITRE
A volume unit accepted for use with SI units (standard name
l). |
static javax.measure.Unit<javax.measure.quantity.LuminousFlux> |
LUMEN
The SI unit for luminous flux (standard name
lm). |
static javax.measure.Unit<javax.measure.quantity.Illuminance> |
LUX
The SI unit for illuminance (standard name
lx). |
static javax.measure.Unit<javax.measure.quantity.Length> |
METRE
The metre, symbol m, is the SI unit of length.
|
static javax.measure.Unit<javax.measure.quantity.Speed> |
METRE_PER_SECOND
The SI unit for velocity quantities (standard name
m/s). |
static javax.measure.Unit<javax.measure.quantity.Acceleration> |
METRE_PER_SQUARE_SECOND
The SI unit for acceleration quantities (standard name
m/s2 ). |
static javax.measure.Unit<javax.measure.quantity.Time> |
MINUTE
A time unit accepted for use with SI units (standard name
min). |
static javax.measure.Unit<javax.measure.quantity.AmountOfSubstance> |
MOLE
The mole, symbol mol, is the SI unit of amount of substance.
|
static javax.measure.Unit<javax.measure.quantity.Time> |
MONTH
A unit of duration equal to 1/12
YEAR (standard name mo). |
static javax.measure.Unit<javax.measure.quantity.Force> |
NEWTON
The SI unit for force (standard name
N). |
static javax.measure.Unit<javax.measure.quantity.ElectricResistance> |
OHM
The SI unit for electric resistance (standard name
Ohm). |
static javax.measure.Unit<javax.measure.quantity.Pressure> |
PASCAL
The SI unit for pressure, stress (standard name
Pa). |
static javax.measure.Unit<javax.measure.quantity.Dimensionless> |
PERCENT
A dimensionless unit accepted for use with SI units (standard name
%). |
static javax.measure.Unit<javax.measure.quantity.Angle> |
RADIAN
The SI unit for plane angle quantities (standard name
rad). |
static javax.measure.Unit<javax.measure.quantity.Time> |
SECOND
The second, symbol s, is the SI unit of time.
|
static javax.measure.Unit<javax.measure.quantity.ElectricConductance> |
SIEMENS
The SI unit for electric conductance (standard name
S). |
static javax.measure.Unit<javax.measure.quantity.RadiationDoseEffective> |
SIEVERT
The SI unit for dose equivalent (standard name
Sv). |
static javax.measure.Unit<javax.measure.quantity.Area> |
SQUARE_METRE
The SI unit for area quantities (standard name
m2). |
static javax.measure.Unit<javax.measure.quantity.SolidAngle> |
STERADIAN
The SI unit for solid angle quantities (standard name
sr). |
static javax.measure.Unit<javax.measure.quantity.MagneticFluxDensity> |
TESLA
The alternate unit for magnetic flux density (standard name
T). |
static javax.measure.Unit<javax.measure.quantity.ElectricPotential> |
VOLT
The SI unit for electric potential difference, electromotive force (standard
name
V). |
static javax.measure.Unit<javax.measure.quantity.Power> |
WATT
The SI unit for power, radiant, flux (standard name
W). |
static javax.measure.Unit<javax.measure.quantity.MagneticFlux> |
WEBER
The SI unit for magnetic flux (standard name
Wb). |
static javax.measure.Unit<javax.measure.quantity.Time> |
WEEK
A unit of duration equal to 7
DAY (standard name wk). |
static javax.measure.Unit<javax.measure.quantity.Time> |
YEAR
A time unit accepted for use with SI units (standard name
y ). |
E, logger, quantityToUnit, units| Modifier | Constructor and Description |
|---|---|
protected |
Units()
Constructor may only be called by subclasses
|
| Modifier and Type | Method and Description |
|---|---|
static Units |
getInstance()
Returns the unique instance of this class.
|
String |
getName() |
public static final javax.measure.Unit<javax.measure.quantity.ElectricCurrent> AMPERE
public static final javax.measure.Unit<javax.measure.quantity.LuminousIntensity> CANDELA
public static final javax.measure.Unit<javax.measure.quantity.Temperature> KELVIN
JOULEpublic static final javax.measure.Unit<javax.measure.quantity.Mass> KILOGRAM
GRAM,
METRE,
SECONDpublic static final javax.measure.Unit<javax.measure.quantity.Length> METRE
public static final javax.measure.Unit<javax.measure.quantity.AmountOfSubstance> MOLE
public static final javax.measure.Unit<javax.measure.quantity.Time> SECOND
public static final javax.measure.Unit<javax.measure.quantity.Mass> GRAM
g). The
base unit for mass quantity is KILOGRAM.public static final javax.measure.Unit<javax.measure.quantity.Angle> RADIAN
rad). One
radian is the angle between two radii of a circle such that the length of the
arc between them is equal to the radius.public static final javax.measure.Unit<javax.measure.quantity.SolidAngle> STERADIAN
sr). One
steradian is the solid angle subtended at the center of a sphere by an area
on the surface of the sphere that is equal to the radius squared. The total
solid angle of a sphere is 4*Pi steradians.public static final javax.measure.Unit<javax.measure.quantity.Frequency> HERTZ
Hz). A unit of
frequency equal to one cycle per second. After Heinrich Rudolf Hertz
(1857-1894), German physicist who was the first to produce radio waves
artificially.public static final javax.measure.Unit<javax.measure.quantity.Force> NEWTON
N). One newton is the force
required to give a mass of 1 kilogram an Force of 1 metre per second per
second. It is named after the English mathematician and physicist Sir Isaac
Newton (1642-1727).public static final javax.measure.Unit<javax.measure.quantity.Pressure> PASCAL
Pa). One pascal
is equal to one newton per square meter. It is named after the French
philosopher and mathematician Blaise Pascal (1623-1662).public static final javax.measure.Unit<javax.measure.quantity.Energy> JOULE
J). One joule is
the amount of work done when an applied force of 1 newton moves through a
distance of 1 metre in the direction of the force. It is named after the
English physicist James Prescott Joule (1818-1889).public static final javax.measure.Unit<javax.measure.quantity.Power> WATT
W). One watt
is equal to one joule per second. It is named after the British scientist
James Watt (1736-1819).public static final javax.measure.Unit<javax.measure.quantity.ElectricCharge> COULOMB
C). One Coulomb is equal to the quantity of charge transferred
in one second by a steady current of one ampere. It is named after the French
physicist Charles Augustin de Coulomb (1736-1806).public static final javax.measure.Unit<javax.measure.quantity.ElectricPotential> VOLT
V). One Volt is equal to the difference of electric
potential between two points on a conducting wire carrying a constant current
of one ampere when the power dissipated between the points is one watt. It is
named after the Italian physicist Count Alessandro Volta (1745-1827).public static final javax.measure.Unit<javax.measure.quantity.ElectricCapacitance> FARAD
F). One Farad is
equal to the capacitance of a capacitor having an equal and opposite charge
of 1 coulomb on each plate and a potential difference of 1 volt between the
plates. It is named after the British physicist and chemist Michael Faraday
(1791-1867).public static final javax.measure.Unit<javax.measure.quantity.ElectricResistance> OHM
Ohm). One Ohm
is equal to the resistance of a conductor in which a current of one ampere is
produced by a potential of one volt across its terminals. It is named after
the German physicist Georg Simon Ohm (1789-1854).public static final javax.measure.Unit<javax.measure.quantity.ElectricConductance> SIEMENS
S). One
Siemens is equal to one ampere per volt. It is named after the German
engineer Ernst Werner von Siemens (1816-1892).public static final javax.measure.Unit<javax.measure.quantity.MagneticFlux> WEBER
Wb). One Weber is
equal to the magnetic flux that in linking a circuit of one turn produces in
it an electromotive force of one volt as it is uniformly reduced to zero
within one second. It is named after the German physicist Wilhelm Eduard
Weber (1804-1891).public static final javax.measure.Unit<javax.measure.quantity.MagneticFluxDensity> TESLA
T).
One Tesla is equal equal to one weber per square metre. It is named after the
Serbian-born American electrical engineer and physicist Nikola Tesla
(1856-1943).public static final javax.measure.Unit<javax.measure.quantity.ElectricInductance> HENRY
H). One Henry
is equal to the inductance for which an induced electromotive force of one
volt is produced when the current is varied at the rate of one ampere per
second. It is named after the American physicist Joseph Henry (1791-1878).public static final javax.measure.Unit<javax.measure.quantity.Temperature> CELSIUS
°C). This is
a unit of temperature such as the freezing point of water (at one atmosphere
of pressure) is 0 °C, while the boiling point is 100 °C.public static final javax.measure.Unit<javax.measure.quantity.LuminousFlux> LUMEN
lm). One Lumen is
equal to the amount of light given out through a solid angle by a source of
one candela intensity radiating equally in all directions.public static final javax.measure.Unit<javax.measure.quantity.Illuminance> LUX
lx). One Lux is equal
to one lumen per square metre.public static final javax.measure.Unit<javax.measure.quantity.Radioactivity> BECQUEREL
Bq ).
One becquerel is the radiation caused by one disintegration per second. It is
named after the French physicist, Antoine-Henri Becquerel (1852-1908).public static final javax.measure.Unit<javax.measure.quantity.RadiationDoseAbsorbed> GRAY
Gy). One gray is equal to the dose of one joule of energy
absorbed per one kilogram of matter. It is named after the British physician
L. H. Gray (1905-1965).public static final javax.measure.Unit<javax.measure.quantity.RadiationDoseEffective> SIEVERT
Sv). One Sievert
is equal is equal to the actual dose, in grays, multiplied by a "quality
factor" which is larger for more dangerous forms of radiation. It is named
after the Swedish physicist Rolf Sievert (1898-1966).public static final javax.measure.Unit<javax.measure.quantity.CatalyticActivity> KATAL
kat).public static final javax.measure.Unit<javax.measure.quantity.Speed> METRE_PER_SECOND
m/s).public static final javax.measure.Unit<javax.measure.quantity.Acceleration> METRE_PER_SQUARE_SECOND
m/s2 ).public static final javax.measure.Unit<javax.measure.quantity.Area> SQUARE_METRE
m2).public static final javax.measure.Unit<javax.measure.quantity.Volume> CUBIC_METRE
m3).public static final javax.measure.Unit<javax.measure.quantity.Speed> KILOMETRE_PER_HOUR
public static final javax.measure.Unit<javax.measure.quantity.Dimensionless> PERCENT
%).public static final javax.measure.Unit<javax.measure.quantity.Time> MINUTE
min).public static final javax.measure.Unit<javax.measure.quantity.Time> HOUR
h ).public static final javax.measure.Unit<javax.measure.quantity.Time> DAY
d ).public static final javax.measure.Unit<javax.measure.quantity.Time> WEEK
DAY (standard name wk).public static final javax.measure.Unit<javax.measure.quantity.Time> YEAR
y ).public static final javax.measure.Unit<javax.measure.quantity.Time> MONTH
YEAR (standard name mo).public static final javax.measure.Unit<javax.measure.quantity.Volume> LITRE
l).protected Units()
public String getName()
getName in interface javax.measure.spi.SystemOfUnitsgetName in interface tech.uom.lib.common.function.NameablegetName in class AbstractSystemOfUnitspublic static Units getInstance()
Copyright © 2005–2021 Units of Measurement project. All rights reserved.