Class ImperialUnits

  • All Implemented Interfaces:
    javax.measure.spi.SystemOfUnits, tec.uom.lib.common.function.Nameable

    @NonNullByDefault
    public final class ImperialUnits
    extends tec.uom.se.AbstractSystemOfUnits
    Imperial units used for the United States and Liberia.
    Author:
    Henning Treu - Initial contribution
    • Nested Class Summary

      • Nested classes/interfaces inherited from class tec.uom.se.AbstractSystemOfUnits

        tec.uom.se.AbstractSystemOfUnits.Helper
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static javax.measure.Unit<javax.measure.quantity.Length> CHAIN  
      static javax.measure.Unit<javax.measure.quantity.Length> CUBIC_FOOT  
      static javax.measure.Unit<javax.measure.quantity.Temperature> FAHRENHEIT  
      static javax.measure.Unit<javax.measure.quantity.Length> FOOT  
      static javax.measure.Unit<javax.measure.quantity.Length> FURLONG  
      static javax.measure.Unit<javax.measure.quantity.Length> INCH
      Length
      static javax.measure.Unit<javax.measure.quantity.Pressure> INCH_OF_MERCURY
      Additionally defined units to be used in openHAB
      static javax.measure.Unit<javax.measure.quantity.Length> LEAGUE  
      static javax.measure.Unit<javax.measure.quantity.Length> MILE  
      static javax.measure.Unit<javax.measure.quantity.Speed> MILES_PER_HOUR  
      static javax.measure.Unit<javax.measure.quantity.Length> SQUARE_FOOT  
      static javax.measure.Unit<javax.measure.quantity.Length> YARD  
      • Fields inherited from class tec.uom.se.AbstractSystemOfUnits

        E, logger, quantityToUnit, units
    • Field Detail

      • INCH_OF_MERCURY

        public static final javax.measure.Unit<javax.measure.quantity.Pressure> INCH_OF_MERCURY
        Additionally defined units to be used in openHAB
      • FAHRENHEIT

        public static final javax.measure.Unit<javax.measure.quantity.Temperature> FAHRENHEIT
      • MILES_PER_HOUR

        public static final javax.measure.Unit<javax.measure.quantity.Speed> MILES_PER_HOUR
      • INCH

        public static final javax.measure.Unit<javax.measure.quantity.Length> INCH
        Length
      • FOOT

        public static final javax.measure.Unit<javax.measure.quantity.Length> FOOT
      • YARD

        public static final javax.measure.Unit<javax.measure.quantity.Length> YARD
      • CHAIN

        public static final javax.measure.Unit<javax.measure.quantity.Length> CHAIN
      • FURLONG

        public static final javax.measure.Unit<javax.measure.quantity.Length> FURLONG
      • MILE

        public static final javax.measure.Unit<javax.measure.quantity.Length> MILE
      • LEAGUE

        public static final javax.measure.Unit<javax.measure.quantity.Length> LEAGUE
      • SQUARE_FOOT

        public static final javax.measure.Unit<javax.measure.quantity.Length> SQUARE_FOOT
      • CUBIC_FOOT

        public static final javax.measure.Unit<javax.measure.quantity.Length> CUBIC_FOOT
    • Method Detail

      • getInstance

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

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