From: Shane Carr Date: Thu, 28 Sep 2017 01:12:37 +0000 (+0000) Subject: ICU-13177 Adding missing documentation for NoUnit X-Git-Tag: release-60-rc~94 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1a7164e2dbf2c58531c03874ba58da5a731c4697;p=icu ICU-13177 Adding missing documentation for NoUnit X-SVN-Rev: 40496 --- 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");