final class NonSI
extends tec.uom.se.AbstractSystemOfUnits
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.
This is an internal collection of otherwise unassigned units used by UCUM or similar systems.
This class is not intended to be implemented by clients.
Modifier and Type | Field and Description |
---|---|
static javax.measure.Unit<javax.measure.quantity.Length> |
ANGSTROM
Deprecated.
A unit of length equal to
1E-10 m (standard name
Ångström ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Area> |
ARE
Deprecated.
A unit of area equal to
100 m² (standard name a
). |
(package private) static javax.measure.Unit<javax.measure.quantity.Length> |
ASTRONOMICAL_UNIT
Deprecated.
A unit of length equal to the average distance from the center of the
Earth to the center of the Sun (standard name
ua ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Pressure> |
ATMOSPHERE
Deprecated.
A unit of pressure equal to the average pressure of the Earth's
atmosphere at sea level (standard name
atm ). |
(package private) static javax.measure.Unit<javax.measure.quantity.AmountOfSubstance> |
ATOM
Deprecated.
A unit of amount of substance equals to one atom (standard name
atom ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Mass> |
ATOMIC_MASS
Deprecated.
A unit of mass equal to 1/12 the mass of the carbon-12 atom (standard
name
u ). |
private static double |
AVOGADRO_CONSTANT
Deprecated.
Holds the Avogadro constant.
|
static javax.measure.Unit<javax.measure.quantity.Pressure> |
BAR
Deprecated.
A unit of pressure equal to
100 kPa (standard name
bar ). |
(package private) static javax.measure.Unit<Information> |
BIT
Deprecated.
The unit for binary information (standard name
bit ). |
(package private) static tec.uom.se.unit.ProductUnit<InformationRate> |
BITS_PER_SECOND
Deprecated.
The unit for binary information rate (standard name
bit/s ). |
(package private) static javax.measure.Unit<Information> |
BYTE
Deprecated.
A unit of data amount equal to
8 (BinarY
TErm, standard name byte ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Speed> |
C
Deprecated.
A unit of velocity relative to the speed of light (standard name
c ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Length> |
COMPUTER_POINT
Deprecated.
Equivalent
PIXEL |
(package private) static javax.measure.Unit<javax.measure.quantity.Radioactivity> |
CURIE
Deprecated.
A unit of radioctive activity equal to the activity of a gram of radium
(standard name
Ci ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Time> |
DAY
Deprecated.
A unit of duration equal to
24 (standard name
d ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Time> |
DAY_SIDEREAL
Deprecated.
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 ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Dimensionless> |
DECIBEL
Deprecated.
A logarithmic unit used to describe a ratio (standard name
dB ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Force> |
DYNE
Deprecated.
A unit of force equal to
1E-5 N (standard name
dyn ). |
(package private) static javax.measure.Unit<javax.measure.quantity.ElectricCharge> |
E
Deprecated.
A unit of electric charge equal to the charge on one electron (standard
name
e ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Mass> |
ELECTRON_MASS
Deprecated.
A unit of mass equal to the mass of the electron (standard name
me ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Energy> |
ELECTRON_VOLT
Deprecated.
A unit of energy equal to one electron-volt (standard name
eV , also recognized keV, MeV, GeV ). |
private static double |
ELEMENTARY_CHARGE
Deprecated.
Holds the electric charge of one electron.
|
(package private) static javax.measure.Unit<javax.measure.quantity.Energy> |
ERG
Deprecated.
A unit of energy equal to
1E-7 J (standard name
erg ). |
(package private) static javax.measure.Unit<javax.measure.quantity.ElectricCharge> |
FARADAY
Deprecated.
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 ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Length> |
FOOT
Deprecated.
A unit of length equal to
0.3048 m (standard name
ft ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Frequency> |
FRAMES_PER_SECOND
Deprecated.
A unit used to measure the frequency (rate) at which an imaging device
produces unique consecutive images (standard name
fps ). |
(package private) static javax.measure.Unit<javax.measure.quantity.ElectricCharge> |
FRANKLIN
Deprecated.
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 ). |
(package private) static javax.measure.Unit<javax.measure.quantity.MagneticFluxDensity> |
GAUSS
Deprecated.
A unit of magnetic flux density equal
1000 A/m (standard
name G ). |
(package private) static javax.measure.Unit<javax.measure.quantity.ElectricCurrent> |
GILBERT
Deprecated.
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 ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Power> |
HORSEPOWER
Deprecated.
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 ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Time> |
HOUR
Deprecated.
A unit of duration equal to
60 (standard
name h ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Length> |
INCH
Deprecated.
A unit of length equal to
0.0254 m (standard name
in ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Pressure> |
INCH_OF_MERCURY
Deprecated.
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 ). |
private static NonSI |
INSTANCE
Deprecated.
|
(package private) static javax.measure.Unit<javax.measure.quantity.Illuminance> |
LAMBERT
Deprecated.
A unit of illuminance equal to
1E4 Lx (standard name
La ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Length> |
LIGHT_YEAR
Deprecated.
A unit of length equal to the distance that light travels in one year
through a vacuum (standard name
ly ). |
(package private) static javax.measure.Unit<javax.measure.quantity.MagneticFlux> |
MAXWELL
Deprecated.
A unit of magnetic flux equal
1E-8 Wb (standard name
Mx ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Pressure> |
MILLIMETRE_OF_MERCURY
Deprecated.
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
). |
(package private) static javax.measure.Unit<javax.measure.quantity.Time> |
MINUTE
Deprecated.
A unit of duration equal to
60 s (standard name
min ). |
(package private) static javax.measure.Unit<Information> |
OCTET
Deprecated.
Equivalent
BYTE |
(package private) static javax.measure.Unit<javax.measure.quantity.Length> |
PARSEC
Deprecated.
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 ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Dimensionless> |
PI
Deprecated.
A dimensionless unit equals to
pi (standard name
Ï€ ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Length> |
PIXEL
Deprecated.
A pixel is equivalent to 0.0002636 metre.
|
(package private) static javax.measure.Unit<Information> |
PIXEL_BYTE
Deprecated.
A pixel has 4 channels which define transparency (alpha), red, green and
blue color values.
|
(package private) static javax.measure.Unit<Resolution> |
PIXEL_PER_INCH
Deprecated.
Pixel per inch describe the resolution for any output device (monitor,
printer) that deals with outputting digital raster images.
|
(package private) static javax.measure.Unit<javax.measure.quantity.Length> |
POINT
Deprecated.
A unit of length equal to
0.013837 exactly
(standard name pt ). |
(package private) static javax.measure.Unit<javax.measure.quantity.RadiationDoseAbsorbed> |
RAD
Deprecated.
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 ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Temperature> |
RANKINE
Deprecated.
A unit of temperature equal to
5/9 °K (standard name
°R ). |
(package private) static javax.measure.Unit<javax.measure.quantity.RadiationDoseEffective> |
REM
Deprecated.
A unit of radiation dose effective equal to
0.01 Sv
(standard name rem ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Angle> |
REVOLUTION
Deprecated.
A unit of angle equal to a full circle or
2π
(standard name rev ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Radioactivity> |
RUTHERFORD
Deprecated.
A unit of radioctive activity equal to 1 million radioactive
disintegrations per second (standard name
Rd ). |
(package private) static javax.measure.Unit<javax.measure.quantity.SolidAngle> |
SPHERE
Deprecated.
A unit of solid angle equal to
4 π steradians
(standard name sphere ). |
private static java.lang.String |
SYSTEM_NAME
Deprecated.
|
(package private) static javax.measure.Unit<javax.measure.quantity.Time> |
WEEK
Deprecated.
A unit of duration equal to 7
DAY (standard name
week ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Time> |
YEAR_CALENDAR
Deprecated.
A unit of duration equal to 365
DAY (standard name
year ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Time> |
YEAR_JULIEN
Deprecated.
The Julian year, as used in astronomy and other sciences, is a time unit
defined as exactly 365.25 days.
|
(package private) static javax.measure.Unit<javax.measure.quantity.Time> |
YEAR_SIDEREAL
Deprecated.
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 ). |
Modifier | Constructor and Description |
---|---|
private |
NonSI()
Deprecated.
Default constructor (prevents this class from being instantiated).
|
Modifier and Type | Method and Description |
---|---|
private static <U extends javax.measure.Unit<?>> |
addUnit(U unit)
Deprecated.
Adds a new unit not mapped to any specified quantity type.
|
private static <U extends tec.uom.se.AbstractUnit<?>> |
addUnit(U unit,
java.lang.Class<? extends javax.measure.Quantity<?>> type)
Deprecated.
Adds a new unit and maps it to the specified quantity type.
|
private static <U extends javax.measure.Unit<?>> |
addUnit(U unit,
java.lang.String name,
java.lang.String text,
boolean isLabel)
Deprecated.
Adds a new unit not mapped to any specified quantity type and puts a text
as symbol or label.
|
static NonSI |
getInstance()
Deprecated.
Returns the unique instance of this class.
|
java.lang.String |
getName()
Deprecated.
A unit used to measure the ionizing ability of radiation (standard name
Roentgen ). |
private static final java.lang.String SYSTEM_NAME
private static final double AVOGADRO_CONSTANT
private static final double ELEMENTARY_CHARGE
private static final NonSI INSTANCE
static final javax.measure.Unit<javax.measure.quantity.Dimensionless> PI
pi
(standard name
Ï€
).static final javax.measure.Unit<javax.measure.quantity.Dimensionless> DECIBEL
dB
).static final javax.measure.Unit<javax.measure.quantity.AmountOfSubstance> ATOM
atom
).static final javax.measure.Unit<javax.measure.quantity.Length> FOOT
0.3048 m
(standard name
ft
).static final javax.measure.Unit<javax.measure.quantity.Length> INCH
0.0254 m
(standard name
in
).public static final javax.measure.Unit<javax.measure.quantity.Length> ANGSTROM
1E-10 m
(standard name
Ångström
).static final javax.measure.Unit<javax.measure.quantity.Length> ASTRONOMICAL_UNIT
ua
).static final javax.measure.Unit<javax.measure.quantity.Length> LIGHT_YEAR
ly
).static final javax.measure.Unit<javax.measure.quantity.Length> PARSEC
ASTRONOMICAL_UNIT
in the direction perpendicular to the direction to the star (standard
name pc
).static final javax.measure.Unit<javax.measure.quantity.Length> POINT
0.013837 INCH
exactly
(standard name pt
).PIXEL
static final javax.measure.Unit<javax.measure.quantity.Time> MINUTE
60 s
(standard name
min
).static final javax.measure.Unit<javax.measure.quantity.Time> HOUR
60 MINUTE
(standard
name h
).static final javax.measure.Unit<javax.measure.quantity.Time> DAY
24 HOUR
(standard name
d
).static final javax.measure.Unit<javax.measure.quantity.Time> DAY_SIDEREAL
day_sidereal
).static final javax.measure.Unit<javax.measure.quantity.Time> WEEK
DAY
(standard name
week
).static final javax.measure.Unit<javax.measure.quantity.Time> YEAR_CALENDAR
DAY
(standard name
year
).static final javax.measure.Unit<javax.measure.quantity.Time> YEAR_SIDEREAL
year_sidereal
).static final javax.measure.Unit<javax.measure.quantity.Time> YEAR_JULIEN
static final javax.measure.Unit<javax.measure.quantity.Mass> ATOMIC_MASS
u
).static final javax.measure.Unit<javax.measure.quantity.Mass> ELECTRON_MASS
me
).static final javax.measure.Unit<javax.measure.quantity.ElectricCharge> E
e
).static final javax.measure.Unit<javax.measure.quantity.ElectricCharge> FARADAY
SI#MOLE
) and the charge (1 e) on a single electron
(standard name Fd
).static final javax.measure.Unit<javax.measure.quantity.ElectricCharge> FRANKLIN
Fr
).static final javax.measure.Unit<javax.measure.quantity.Temperature> RANKINE
5/9 °K
(standard name
°R
).static final javax.measure.Unit<javax.measure.quantity.Angle> REVOLUTION
2π
SI#RADIAN
(standard name rev
).static final javax.measure.Unit<javax.measure.quantity.Speed> C
c
).static final javax.measure.Unit<javax.measure.quantity.Area> ARE
100 m²
(standard name a
).static final javax.measure.Unit<Information> BIT
bit
).static final javax.measure.Unit<Information> BYTE
8 SI#BIT
(BinarY
TErm, standard name byte
).static final tec.uom.se.unit.ProductUnit<InformationRate> BITS_PER_SECOND
bit/s
).static final javax.measure.Unit<Information> OCTET
BYTE
static final javax.measure.Unit<Information> PIXEL_BYTE
BYTE
,
Pixel Converterstatic final javax.measure.Unit<javax.measure.quantity.Length> PIXEL
static final javax.measure.Unit<Resolution> PIXEL_PER_INCH
static final javax.measure.Unit<javax.measure.quantity.Length> COMPUTER_POINT
PIXEL
static final javax.measure.Unit<javax.measure.quantity.ElectricCurrent> GILBERT
10/4
πampere-turn
(standard name Gi
).static final javax.measure.Unit<javax.measure.quantity.Energy> ERG
1E-7 J
(standard name
erg
).static final javax.measure.Unit<javax.measure.quantity.Energy> ELECTRON_VOLT
eV
, also recognized keV, MeV, GeV
).static final javax.measure.Unit<javax.measure.quantity.Illuminance> LAMBERT
1E4 Lx
(standard name
La
).static final javax.measure.Unit<javax.measure.quantity.MagneticFlux> MAXWELL
1E-8 Wb
(standard name
Mx
).static final javax.measure.Unit<javax.measure.quantity.MagneticFluxDensity> GAUSS
1000 A/m
(standard
name G
).static final javax.measure.Unit<javax.measure.quantity.Force> DYNE
1E-5 N
(standard name
dyn
).static final javax.measure.Unit<javax.measure.quantity.Power> HORSEPOWER
hp
).static final javax.measure.Unit<javax.measure.quantity.Pressure> ATMOSPHERE
atm
).public static final javax.measure.Unit<javax.measure.quantity.Pressure> BAR
100 kPa
(standard name
bar
).static final javax.measure.Unit<javax.measure.quantity.Pressure> MILLIMETRE_OF_MERCURY
mmHg
).static final javax.measure.Unit<javax.measure.quantity.Pressure> INCH_OF_MERCURY
inHg
).static final javax.measure.Unit<javax.measure.quantity.RadiationDoseAbsorbed> RAD
rd
).static final javax.measure.Unit<javax.measure.quantity.RadiationDoseEffective> REM
0.01 Sv
(standard name rem
).static final javax.measure.Unit<javax.measure.quantity.Radioactivity> CURIE
Ci
).static final javax.measure.Unit<javax.measure.quantity.Radioactivity> RUTHERFORD
Rd
).static final javax.measure.Unit<javax.measure.quantity.SolidAngle> SPHERE
4 π steradians
(standard name sphere
).static final javax.measure.Unit<javax.measure.quantity.Frequency> FRAMES_PER_SECOND
fps
).private NonSI()
public static NonSI getInstance()
public java.lang.String getName()
Roentgen
).getName
in interface javax.measure.spi.SystemOfUnits
getName
in interface tec.uom.lib.common.function.Nameable
getName
in class tec.uom.se.AbstractSystemOfUnits
private static <U extends javax.measure.Unit<?>> U addUnit(U unit)
unit
- the unit being added.unit
.private static <U extends tec.uom.se.AbstractUnit<?>> U addUnit(U unit, java.lang.Class<? extends javax.measure.Quantity<?>> type)
unit
- the unit being added.type
- the quantity type.unit
.private static <U extends javax.measure.Unit<?>> U addUnit(U unit, java.lang.String name, java.lang.String text, boolean isLabel)
unit
- the unit being added.name
- the string to use as nametext
- the string to use as label or symbolisLabel
- if the string should be used as a label or notunit
.