Package systems.uom.common
Class Imperial
java.lang.Object
tech.units.indriya.AbstractSystemOfUnits
systems.uom.common.Imperial
- All Implemented Interfaces:
javax.measure.spi.SystemOfUnits,tech.uom.lib.common.function.Nameable
public final class Imperial extends tech.units.indriya.AbstractSystemOfUnits
This class contains units from the Imperial system.
- Since:
- 0.2
- Version:
- 1.4, $Date: 2021-03-28 $
- Author:
- Werner Keil
- See Also:
- Wikipedia: Imperial 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>ACREOne acre is 43,560square feet(standard nameac).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>FLUID_DRACHMA unit of volume equal to3(standard nameFLUID_SCRUPLEfl drc).static javax.measure.Unit<javax.measure.quantity.Volume>FLUID_OUNCEA unit of volume equal to1 / 160(standard name#GALLON_LIQUIDfl_oz).static javax.measure.Unit<javax.measure.quantity.Volume>FLUID_SCRUPLEA unit of volume equal to20(standard nameMINIMfl scr).static javax.measure.Unit<javax.measure.quantity.Volume>GALLON_UKA unit of volume equal to4.546 09(standard nameLITREgal_uk).static javax.measure.Unit<javax.measure.quantity.Volume>GILLA unit of volume equal to5(standard nameFLUID_OUNCEgi).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.Volume>LITREA unit of volume equal to one cubic decimeter (default labelL, also recognizedµL, mL, cL, dL).static javax.measure.Unit<javax.measure.quantity.Mass>METRIC_TONA unit of mass equal to1000 kg(metric ton, standard namet).static 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.Mass>OUNCEA unit of mass equal to1 / 16(standard namePOUNDoz).static javax.measure.Unit<javax.measure.quantity.Volume>PINTA unit of volume equal to20(standard nameFLUID_OUNCEpt).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.Force>POUND_FORCEA unit of force equal to(standard namePOUND·#Glbf).static javax.measure.Unit<javax.measure.quantity.Volume>QUARTA unit of volume equal to40(standard nameFLUID_OUNCEqt).static javax.measure.Unit<javax.measure.quantity.Area>SQUARE_FOOTA unit of area (standard namesft).static javax.measure.Unit<javax.measure.quantity.Mass>STONEAn English and imperial unit of weight or mass now equal to 14 avoirdupois pounds or 6.35029318 kg (st).static javax.measure.Unit<javax.measure.quantity.Mass>TON_UKA unit of mass equal to2240(long ton, standard namePOUNDton_uk).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
-
INCH
A unit of length equal to0.0254 m(standard namein). -
POUND
A unit of mass equal to453.59237 grams(avoirdupois pound, standard namelb). -
STONE
An English and imperial unit of weight or mass now equal to 14 avoirdupois pounds or 6.35029318 kg (st). -
OUNCE
A unit of mass equal to1 / 16(standard namePOUNDoz). -
TON_UK
A unit of mass equal to2240(long ton, standard namePOUNDton_uk). -
METRIC_TON
A unit of mass equal to1000 kg(metric ton, standard namet). -
SQUARE_FOOT
A unit of area (standard namesft). -
ACRE
One acre is 43,560square feet(standard nameac). -
LITRE
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³). -
GALLON_UK
A unit of volume equal to4.546 09(standard nameLITREgal_uk). -
FLUID_OUNCE
A unit of volume equal to1 / 160(standard name#GALLON_LIQUIDfl_oz). -
GILL
A unit of volume equal to5(standard nameFLUID_OUNCEgi). -
PINT
A unit of volume equal to20(standard nameFLUID_OUNCEpt). -
QUART
A unit of volume equal to40(standard nameFLUID_OUNCEqt). -
MINIM
A unit of volume~ 1 drop or 0.95 grain of water(standard namemin). -
FLUID_SCRUPLE
A unit of volume equal to20(standard nameMINIMfl scr). -
FLUID_DRACHM
A unit of volume equal to3(standard nameFLUID_SCRUPLEfl drc). -
POUND_FORCE
A unit of force equal to(standard namePOUND·#Glbf).
-
-
Method Details
-
getInstance
Returns the unique instance of this class.- Returns:
- the Imperial 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
-