]> granicus.if.org Git - icu/commitdiff
ICU-13177 Adding missing documentation for NoUnit
authorShane Carr <shane@unicode.org>
Thu, 28 Sep 2017 01:12:37 +0000 (01:12 +0000)
committerShane Carr <shane@unicode.org>
Thu, 28 Sep 2017 01:12:37 +0000 (01:12 +0000)
X-SVN-Rev: 40496

icu4j/main/classes/core/src/com/ibm/icu/util/NoUnit.java

index 9caf1962d373d161d01df33a50d3ef3f415926de..5e1acb615fedd76546d756236f7e3bd0dd9d7e6a 100644 (file)
@@ -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");