From 1a7164e2dbf2c58531c03874ba58da5a731c4697 Mon Sep 17 00:00:00 2001 From: Shane Carr Date: Thu, 28 Sep 2017 01:12:37 +0000 Subject: [PATCH] ICU-13177 Adding missing documentation for NoUnit X-SVN-Rev: 40496 --- .../core/src/com/ibm/icu/util/NoUnit.java | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/icu4j/main/classes/core/src/com/ibm/icu/util/NoUnit.java b/icu4j/main/classes/core/src/com/ibm/icu/util/NoUnit.java index 9caf1962d37..5e1acb615fe 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/util/NoUnit.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/util/NoUnit.java @@ -2,15 +2,41 @@ // License & terms of use: http://www.unicode.org/copyright.html#License package com.ibm.icu.util; +import com.ibm.icu.number.NumberFormatter; + +/** + * Dimensionless unit for percent and permille. + * @see NumberFormatter + * @draft ICU 60 + * @provisional This API might change or be removed in a future release. + */ public class NoUnit extends MeasureUnit { private static final long serialVersionUID = 2467174286237024095L; + /** + * Constant for the base unit (dimensionless and no scaling). + * + * @draft ICU 60 + * @provisional This API might change or be removed in a future release. + */ public static final NoUnit BASE = (NoUnit) MeasureUnit.internalGetInstance("none", "base"); + /** + * Constant for the percent unit, or 1/100 of a base unit. + * + * @draft ICU 60 + * @provisional This API might change or be removed in a future release. + */ public static final NoUnit PERCENT = (NoUnit) MeasureUnit.internalGetInstance("none", "percent"); + /** + * Constant for the permille unit, or 1/100 of a base unit. + * + * @draft ICU 60 + * @provisional This API might change or be removed in a future release. + */ public static final NoUnit PERMILLE = (NoUnit) MeasureUnit.internalGetInstance("none", "permille");