Class NonSI


  • public final class NonSI
    extends SystemOfUnits

    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.

    • 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).
      • ATOM

        public static final Unit<AmountOfSubstance> ATOM
        A unit of amount of substance equals to one atom (standard name atom).
      • 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
      • 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).
      • 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).
      • 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).
      • 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
      • 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).
      • MILES_PER_HOUR

        public static final Unit<Velocity> MILES_PER_HOUR
        A unit of velocity expressing the number of international miles per hour (abbreviation mph).
      • KILOMETRES_PER_HOUR

        public static final Unit<Velocity> KILOMETRES_PER_HOUR
        A unit of velocity expressing the number of SI.KILOMETRE per hour.
      • 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).
      • G

        public static final Unit<Acceleration> G
        A unit of acceleration equal to the gravity at the earth's surface (standard name grav).
      • 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).
      • 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).
      • 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).
      • 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).
      • LITRE

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

        public static final Unit<Volume> LITER
        Equivalent to LITRE (American spelling).
      • 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 LITRE (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

      • getInstance

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

        public Set<Unit<?>> getUnits()
        Returns a read only view over the units defined in this class.
        Specified by:
        getUnits in class SystemOfUnits
        Returns:
        the collection of NonSI units.