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,
  • Field Details

    • INCH

      public static final javax.measure.Unit<javax.measure.quantity.Length> INCH
      A unit of length equal to 0.0254 m (standard name in).
    • POUND

      public static final javax.measure.Unit<javax.measure.quantity.Mass> POUND
      A unit of mass equal to 453.59237 grams (avoirdupois pound, standard name lb).
    • STONE

      public static final javax.measure.Unit<javax.measure.quantity.Mass> STONE
      An English and imperial unit of weight or mass now equal to 14 avoirdupois pounds or 6.35029318 kg (st).
    • OUNCE

      public static final javax.measure.Unit<javax.measure.quantity.Mass> OUNCE
      A unit of mass equal to 1 / 16 POUND (standard name oz).
    • TON_UK

      public static final javax.measure.Unit<javax.measure.quantity.Mass> TON_UK
      A unit of mass equal to 2240 POUND (long ton, standard name ton_uk).
    • METRIC_TON

      public static final javax.measure.Unit<javax.measure.quantity.Mass> METRIC_TON
      A unit of mass equal to 1000 kg (metric ton, standard name t).
    • SQUARE_FOOT

      public static final javax.measure.Unit<javax.measure.quantity.Area> SQUARE_FOOT
      A unit of area (standard name sft ).
    • ACRE

      public static final javax.measure.Unit<javax.measure.quantity.Area> ACRE
      One acre is 43,560 square feet (standard name ac ).
    • LITRE

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

      public static final javax.measure.Unit<javax.measure.quantity.Volume> CUBIC_INCH
      A unit of volume equal to one cubic inch (in³).
    • GALLON_UK

      public static final javax.measure.Unit<javax.measure.quantity.Volume> GALLON_UK
      A unit of volume equal to 4.546 09 LITRE (standard name gal_uk).
    • FLUID_OUNCE

      public static final javax.measure.Unit<javax.measure.quantity.Volume> FLUID_OUNCE
      A unit of volume equal to 1 / 160 #GALLON_LIQUID (standard name fl_oz).
    • GILL

      public static final javax.measure.Unit<javax.measure.quantity.Volume> GILL
      A unit of volume equal to 5 FLUID_OUNCE (standard name gi).
    • PINT

      public static final javax.measure.Unit<javax.measure.quantity.Volume> PINT
      A unit of volume equal to 20 FLUID_OUNCE (standard name pt).
    • QUART

      public static final javax.measure.Unit<javax.measure.quantity.Volume> QUART
      A unit of volume equal to 40 FLUID_OUNCE (standard name qt).
    • MINIM

      public static final javax.measure.Unit<javax.measure.quantity.Volume> MINIM
      A unit of volume ~ 1 drop or 0.95 grain of water (standard name min).
    • FLUID_SCRUPLE

      public static final javax.measure.Unit<javax.measure.quantity.Volume> FLUID_SCRUPLE
      A unit of volume equal to 20 MINIM (standard name fl scr).
    • FLUID_DRACHM

      public static final javax.measure.Unit<javax.measure.quantity.Volume> FLUID_DRACHM
      A unit of volume equal to 3 FLUID_SCRUPLE (standard name fl drc).
    • POUND_FORCE

      public static final javax.measure.Unit<javax.measure.quantity.Force> POUND_FORCE
      A unit of force equal to POUND·#G (standard name lbf).
  • Method Details

    • getInstance

      public static javax.measure.spi.SystemOfUnits getInstance()
      Returns the unique instance of this class.
      Returns:
      the Imperial instance.
    • getName

      public String getName()
      Specified by:
      getName in interface tech.uom.lib.common.function.Nameable
      Specified by:
      getName in interface javax.measure.spi.SystemOfUnits
      Specified by:
      getName in class tech.units.indriya.AbstractSystemOfUnits