Package systems.uom.common
Class USCustomary
java.lang.Object
tech.units.indriya.AbstractSystemOfUnits
systems.uom.common.USCustomary
- All Implemented Interfaces:
javax.measure.spi.SystemOfUnits,tech.uom.lib.common.function.Nameable
public final class USCustomary extends tech.units.indriya.AbstractSystemOfUnits
This class contains units from the United States customary system.
- Since:
- 0.3
- Version:
- 2.2, May 21, 2021
- Author:
- Jean-Marie Dautelle, Werner Keil
- See Also:
- Wikipedia: United State Customary Units, Wikipedia: United State Customary Units
-
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.Area>ACREThe acre is a unit of area used in the imperial and U.S. customary systems.static javax.measure.Unit<javax.measure.quantity.Volume>ACRE_FOOTAn acre-foot is a unit of volume commonly used in the United States in reference to large-scale water resources, such as reservoirs, aqueducts, canals, sewer flow capacity, irrigation water, and river flows.static javax.measure.Unit<javax.measure.quantity.Area>AREA unit of area equal to100 m²(standard namea).static javax.measure.Unit<javax.measure.quantity.Volume>BARRELA unit of volume equal to238.4810(standard nameLITERbbl).static javax.measure.Unit<javax.measure.quantity.Angle>CENTIRADIANA unit of angle equal to0.01(standard nameSI#RADIANcentiradian).static javax.measure.Unit<javax.measure.quantity.Volume>CUBIC_FOOTThe cubic foot is an imperial and US customary (non-metric) unit of volume, used in the United States, Canada, and the United Kingdom.static javax.measure.Unit<javax.measure.quantity.Volume>CUBIC_INCHA unit of volume equal to one cubic inch (in³).static javax.measure.Unit<javax.measure.quantity.Volume>CUPThe cup is a unit of measurement for volume, used in cooking to measure liquids (fluid measurement) and bulk foods such as granulated sugar (dry measurement).static javax.measure.Unit<javax.measure.quantity.Angle>DEGREE_ANGLEA unit of angle equal to1/360(standard nameREVOLUTIONdeg).static javax.measure.Unit<javax.measure.quantity.Power>ELECTRICAL_HORSEPOWERNameplates on electrical motors show their power output, not the power input (the power delivered at the shaft, not the power consumed to drive the motor).static javax.measure.Unit<javax.measure.quantity.Energy>ELECTRON_VOLTA unit of energy equal to one electron-volt (standard nameeV, also recognizedkeV, MeV, GeV).static javax.measure.Unit<javax.measure.quantity.Temperature>FAHRENHEITA unit of temperature equal to degree Rankine minus459.67 °R(standard name°F).static javax.measure.Unit<javax.measure.quantity.Volume>FLUID_DRAMA unit of volume equal to60(standard nameMINIMfl dr).static javax.measure.Unit<javax.measure.quantity.Volume>FLUID_OUNCEA unit of volume equal to1 / 128(standard nameGALLON_LIQUIDoz_fl).static javax.measure.Unit<javax.measure.quantity.Length>FOOTA unit of length equal to0.3048 m(standard nameft).static javax.measure.Unit<javax.measure.quantity.Speed>FOOT_PER_SECONDA unit of velocity expressing the number offeetpersecond.static javax.measure.Unit<javax.measure.quantity.Length>FOOT_SURVEYA unit of length equal to1200/3937 m(standard namefoot_survey_us).static javax.measure.Unit<javax.measure.quantity.Volume>GALLON_DRYA unit of volume equal to one US dry gallon.static javax.measure.Unit<javax.measure.quantity.Volume>GALLON_LIQUIDA unit of volume equal to one US gallon, Liquid Unit.static javax.measure.Unit<javax.measure.quantity.Volume>GILL_LIQUIDA unit of volume equal to 4 US oz_fl (standard nameliq.gi).static javax.measure.Unit<javax.measure.quantity.Angle>GRADEA unit of angle measure equal to1/400(standard nameREVOLUTIONgrade).static javax.measure.Unit<javax.measure.quantity.Area>HECTAREA unit of area equal to100(standard nameAREha).static javax.measure.Unit<javax.measure.quantity.Power>HORSEPOWERHorsepower (hp) is the name of several units of measurement of power.static javax.measure.Unit<javax.measure.quantity.Time>HOURA unit of duration equal to60(standard nameMINUTEh).static javax.measure.Unit<javax.measure.quantity.Length>INCHA unit of length equal to0.0254 m(standard namein).static javax.measure.Unit<javax.measure.quantity.Speed>KNOTstatic 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.Volume>LITERA unit of volume equal to one cubic decimeter (default labelL, also recognizedµL, mL, cL, dL).static javax.measure.Unit<javax.measure.quantity.Length>METERUS name forSI#METRE.static javax.measure.Unit<javax.measure.quantity.Length>MILEA unit of length equal to1609.344 m(standard namemi).static javax.measure.Unit<javax.measure.quantity.Speed>MILE_PER_HOURstatic javax.measure.Unit<javax.measure.quantity.Volume>MINIMA unit of volume~ 1 drop or 0.95 grain of water(standard namemin).static javax.measure.Unit<javax.measure.quantity.Time>MINUTEA unit of time equal to60 s(standard namemin).static javax.measure.Unit<javax.measure.quantity.Angle>MINUTE_ANGLEA unit of angle equal to1/60(standard nameDEGREE_ANGLE').static javax.measure.Unit<javax.measure.quantity.Length>NAUTICAL_MILEA unit of length equal to1852.0 m(standard namenmi).static javax.measure.Unit<javax.measure.quantity.Mass>OUNCEA unit of mass equal to1 / 16(standard namePOUNDoz).static javax.measure.Unit<javax.measure.quantity.Volume>PINTA unit of volume equal to4(standard nameGILL_LIQUIDpt).static javax.measure.Unit<javax.measure.quantity.Mass>POUNDA unit of mass equal to453.59237 grams(avoirdupois pound, standard namelb).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.Angle>REVOLUTIONA unit of angle equal to a full circle or2π(standard nameSI#RADIANrev).static javax.measure.Unit<si.uom.quantity.AngularSpeed>REVOLUTION_PER_MINUTERevolutions per minute (abbreviatedrpm, RPM, rev/min, r/min, or with the notation min−1) is the number of turns in one minute.static javax.measure.Unit<javax.measure.quantity.Angle>SECOND_ANGLEA unit of angle equal to1/60(standard nameMINUTE_ANGLE").static javax.measure.Unit<javax.measure.quantity.Area>SQUARE_FOOTA unit of area (standard namesft).static javax.measure.Unit<javax.measure.quantity.Volume>TABLESPOONA unit of volume equal to3(standard nameTEASPOONTbsp).static javax.measure.Unit<javax.measure.quantity.Volume>TEASPOONA unit of volume equal to80(standard nameMINIMtsp).static javax.measure.Unit<javax.measure.quantity.Mass>TONA unit of mass equal to2000(short ton, standard namePOUNDton).static javax.measure.Unit<javax.measure.quantity.Length>YARDA unit of length equal to0.9144 m(standard nameyd).Fields inherited from class tech.units.indriya.AbstractSystemOfUnits
E, logger, quantityToUnit, units -
Method Summary
Modifier and Type Method Description static javax.measure.spi.SystemOfUnitsgetInstance()Returns the unique instance of this class.StringgetName()Methods inherited from class tech.units.indriya.AbstractSystemOfUnits
getUnit, getUnit, getUnit, getUnit, getUnits, getUnits
-
Field Details
-
METER
US name forSI#METRE. -
FOOT
A unit of length equal to0.3048 m(standard nameft). -
FOOT_SURVEY
-
YARD
A unit of length equal to0.9144 m(standard nameyd). -
INCH
A unit of length equal to0.0254 m(standard namein). -
MILE
A unit of length equal to1609.344 m(standard namemi). -
LIGHT_YEAR
A unit of length equal to the distance that light travels in one year through a vacuum (standard namely). -
NAUTICAL_MILE
A unit of length equal to1852.0 m(standard namenmi). -
POUND
A unit of mass equal to453.59237 grams(avoirdupois pound, standard namelb). -
OUNCE
A unit of mass equal to1 / 16(standard namePOUNDoz). -
TON
A unit of mass equal to2000(short ton, standard namePOUNDton). -
RANKINE
A unit of temperature equal to5/9 °K(standard name°R). -
FAHRENHEIT
A unit of temperature equal to degree Rankine minus459.67 °R(standard name°F).- See Also:
RANKINE
-
REVOLUTION
A unit of angle equal to a full circle or2π(standard nameSI#RADIANrev). -
DEGREE_ANGLE
A unit of angle equal to1/360(standard nameREVOLUTIONdeg). -
MINUTE_ANGLE
A unit of angle equal to1/60(standard nameDEGREE_ANGLE'). -
SECOND_ANGLE
A unit of angle equal to1/60(standard nameMINUTE_ANGLE"). -
CENTIRADIAN
A unit of angle equal to0.01(standard nameSI#RADIANcentiradian). -
GRADE
A unit of angle measure equal to1/400(standard nameREVOLUTIONgrade). -
MINUTE
A unit of time equal to60 s(standard namemin). -
HOUR
A unit of duration equal to60(standard nameMINUTEh). -
FOOT_PER_SECOND
A unit of velocity expressing the number offeetpersecond.- Since:
- 0.5.1
-
MILE_PER_HOUR
-
KNOT
-
SQUARE_FOOT
A unit of area (standard namesft). -
ARE
A unit of area equal to100 m²(standard namea). -
HECTARE
A unit of area equal to100(standard nameAREha). -
ACRE
The acre is a unit of area used in the imperial and U.S. customary systems. It is equivalent to43,560 square feet. An acre is about 40% of aHECTARE– slightly smaller than an American football field. (standard nameac).- See Also:
- Wikipedia: Acre
-
ELECTRON_VOLT
A unit of energy equal to one electron-volt (standard nameeV, also recognizedkeV, MeV, GeV). -
HORSEPOWER
Horsepower (hp) is the name of several units of measurement of power. The most common definitions equal between 735.5 and 750 watts. Horsepower was originally defined to compare the output of steam engines with the power of draft horses. The unit was widely adopted to measure the output of piston engines, turbines, electric motors, and other machinery. The definition of the unit varied between geographical regions. Most countries now use the SI unit watt for measurement of power. With the implementation of the EU Directive 80/181/EEC on January 1, 2010, the use of horsepower in the EU is only permitted as supplementary unit. -
ELECTRICAL_HORSEPOWER
Nameplates on electrical motors show their power output, not the power input (the power delivered at the shaft, not the power consumed to drive the motor).
This power output is ordinarily stated in watts or kilowatts. In the United States, the power output is stated in horsepower, which for this purpose is defined as exactly 746 W. -
LITER
A unit of volume equal to one cubic decimeter (default labelL, also recognizedµL, mL, cL, dL). -
CUBIC_INCH
A unit of volume equal to one cubic inch (in³). -
CUBIC_FOOT
The cubic foot is an imperial and US customary (non-metric) unit of volume, used in the United States, Canada, and the United Kingdom. It is defined as the volume of a cube with sides of one foot (0.3048 m) in length. Its volume is 28.3168 liters or about 1⁄35 of a cubic meter. (ft³). -
ACRE_FOOT
An acre-foot is a unit of volume commonly used in the United States in reference to large-scale water resources, such as reservoirs, aqueducts, canals, sewer flow capacity, irrigation water, and river flows. -
GALLON_DRY
A unit of volume equal to one US dry gallon. (standard namegallon_dry_us). -
GALLON_LIQUID
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 namegal). -
FLUID_OUNCE
A unit of volume equal to1 / 128(standard nameGALLON_LIQUIDoz_fl). -
GILL_LIQUID
A unit of volume equal to 4 US oz_fl (standard nameliq.gi). -
MINIM
A unit of volume~ 1 drop or 0.95 grain of water(standard namemin). -
FLUID_DRAM
A unit of volume equal to60(standard nameMINIMfl dr). -
CUP
The cup is a unit of measurement for volume, used in cooking to measure liquids (fluid measurement) and bulk foods such as granulated sugar (dry measurement). A cup is equal to8(standard nameFLUID_OUNCEcup). -
TEASPOON
A unit of volume equal to80(standard nameMINIMtsp). -
TABLESPOON
A unit of volume equal to3(standard nameTEASPOONTbsp). -
BARREL
A unit of volume equal to238.4810(standard nameLITERbbl). -
PINT
A unit of volume equal to4(standard nameGILL_LIQUIDpt). -
REVOLUTION_PER_MINUTE
Revolutions per minute (abbreviatedrpm, RPM, rev/min, r/min, or with the notation min−1) is the number of turns in one minute. It is a unit of rotational speed or the frequency of rotation around a fixed axis.- Since:
- 2.1
- See Also:
- Wikipedia: Revolutions per minute
-
-
Method Details
-
getInstance
Returns the unique instance of this class.- Returns:
- the USCustomary 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
-