mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 09:21:03 +00:00
ICU-13177 Adding missing documentation for NoUnit
X-SVN-Rev: 40496
This commit is contained in:
parent
35ef735709
commit
1a7164e2db
1 changed files with 26 additions and 0 deletions
|
@ -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");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue