Class NoUnit
java.lang.Object
com.ibm.icu.util.NoUnit
Dimensionless unit for percent and permille.
- See Also:
- Status:
- Stable ICU 68.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MeasureUnitConstant for the base unit (dimensionless and no scaling).static final MeasureUnitConstant for the percent unit, or 1/100 of a base unit.static final MeasureUnitConstant for the permille unit, or 1/100 of a base unit. -
Method Summary
-
Field Details
-
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.
- Status:
- Stable ICU 68.
-
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.
- Status:
- Stable ICU 68.
-
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.
- Status:
- Stable ICU 68.
-