Class NoUnit


  • public final class NoUnit
    extends java.lang.Object
    Dimensionless unit for percent and permille.
    See Also:
    NumberFormatter
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static MeasureUnit BASE
      Constant for the base unit (dimensionless and no scaling).
      static MeasureUnit PERCENT
      Constant for the percent unit, or 1/100 of a base unit.
      static MeasureUnit PERMILLE
      Constant for the permille unit, or 1/100 of a base unit.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private NoUnit()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • BASE

        public static final MeasureUnit BASE
        Constant for the base unit (dimensionless and no scaling). Prior to ICU 68, this constant equaled an instance of NoUnit. Since ICU 68, this constant equals null.
      • PERCENT

        public static final MeasureUnit PERCENT
        Constant for the percent unit, or 1/100 of a base unit. Prior to ICU 68, this constant equaled an instance of NoUnit. Since ICU 68, this constant is equivalent to MeasureUnit.PERCENT.
      • PERMILLE

        public static final MeasureUnit PERMILLE
        Constant for the permille unit, or 1/100 of a base unit. Prior to ICU 68, this constant equaled an instance of NoUnit. Since ICU 68, this constant is equivalent to MeasureUnit.PERMILLE.
    • Constructor Detail

      • NoUnit

        private NoUnit()