| Package | Description |
|---|---|
| com.ibm.icu.util |
International calendars and other utility classes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Currency
A class encapsulating a currency, as defined by ISO 4217.
|
class |
TimeUnit
Measurement unit for time units.
|
| Modifier and Type | Field and Description |
|---|---|
static MeasureUnit |
MeasureUnit.ACRE
Constant for unit of area: acre
|
static MeasureUnit |
MeasureUnit.ARC_MINUTE
Constant for unit of angle: minute
|
static MeasureUnit |
MeasureUnit.ARC_SECOND
Constant for unit of angle: second
|
static MeasureUnit |
MeasureUnit.CELSIUS
Constant for unit of temperature: celsius
|
static MeasureUnit |
MeasureUnit.CENTIMETER
Constant for unit of length: centimeter
|
static MeasureUnit |
MeasureUnit.CUBIC_KILOMETER
Constant for unit of volume: cubic-kilometer
|
static MeasureUnit |
MeasureUnit.CUBIC_MILE
Constant for unit of volume: cubic-mile
|
static MeasureUnit |
MeasureUnit.DEGREE
Constant for unit of angle: degree
|
static MeasureUnit |
MeasureUnit.FAHRENHEIT
Constant for unit of temperature: fahrenheit
|
static MeasureUnit |
MeasureUnit.FOOT
Constant for unit of length: foot
|
static MeasureUnit |
MeasureUnit.G_FORCE
Constant for unit of acceleration: g-force
|
static MeasureUnit |
MeasureUnit.GRAM
Constant for unit of mass: gram
|
static MeasureUnit |
MeasureUnit.HECTARE
Constant for unit of area: hectare
|
static MeasureUnit |
MeasureUnit.HECTOPASCAL
Constant for unit of pressure: hectopascal
|
static MeasureUnit |
MeasureUnit.HORSEPOWER
Constant for unit of power: horsepower
|
static MeasureUnit |
MeasureUnit.INCH
Constant for unit of length: inch
|
static MeasureUnit |
MeasureUnit.INCH_HG
Constant for unit of pressure: inch-hg
|
static MeasureUnit |
MeasureUnit.KILOGRAM
Constant for unit of mass: kilogram
|
static MeasureUnit |
MeasureUnit.KILOMETER
Constant for unit of length: kilometer
|
static MeasureUnit |
MeasureUnit.KILOMETER_PER_HOUR
Constant for unit of speed: kilometer-per-hour
|
static MeasureUnit |
MeasureUnit.KILOWATT
Constant for unit of power: kilowatt
|
static MeasureUnit |
MeasureUnit.LIGHT_YEAR
Constant for unit of length: light-year
|
static MeasureUnit |
MeasureUnit.LITER
Constant for unit of volume: liter
|
static MeasureUnit |
MeasureUnit.METER
Constant for unit of length: meter
|
static MeasureUnit |
MeasureUnit.METER_PER_SECOND
Constant for unit of speed: meter-per-second
|
static MeasureUnit |
MeasureUnit.MILE
Constant for unit of length: mile
|
static MeasureUnit |
MeasureUnit.MILE_PER_HOUR
Constant for unit of speed: mile-per-hour
|
static MeasureUnit |
MeasureUnit.MILLIBAR
Constant for unit of pressure: millibar
|
static MeasureUnit |
MeasureUnit.MILLIMETER
Constant for unit of length: millimeter
|
static MeasureUnit |
MeasureUnit.MILLISECOND
Constant for unit of duration: millisecond
|
static MeasureUnit |
MeasureUnit.OUNCE
Constant for unit of mass: ounce
|
static MeasureUnit |
MeasureUnit.PICOMETER
Constant for unit of length: picometer
|
static MeasureUnit |
MeasureUnit.POUND
Constant for unit of mass: pound
|
static MeasureUnit |
MeasureUnit.SQUARE_FOOT
Constant for unit of area: square-foot
|
static MeasureUnit |
MeasureUnit.SQUARE_KILOMETER
Constant for unit of area: square-kilometer
|
static MeasureUnit |
MeasureUnit.SQUARE_METER
Constant for unit of area: square-meter
|
static MeasureUnit |
MeasureUnit.SQUARE_MILE
Constant for unit of area: square-mile
|
static MeasureUnit |
MeasureUnit.WATT
Constant for unit of power: watt
|
static MeasureUnit |
MeasureUnit.YARD
Constant for unit of length: yard
|
| Modifier and Type | Method and Description |
|---|---|
protected static MeasureUnit |
MeasureUnit.addUnit(String type,
String unitName,
MeasureUnit.Factory factory)
Deprecated.
This API is ICU internal only.
|
MeasureUnit |
MeasureUnit.Factory.create(String type,
String subType)
Deprecated.
This API is ICU internal only.
|
MeasureUnit |
Measure.getUnit()
Returns the unit of this object.
|
static MeasureUnit |
MeasureUnit.internalGetInstance(String type,
String subType)
Deprecated.
This API is ICU internal only.
|
| Modifier and Type | Method and Description |
|---|---|
static Set<MeasureUnit> |
MeasureUnit.getAvailable()
Get all of the available units.
|
static Set<MeasureUnit> |
MeasureUnit.getAvailable(String type)
For the given type, return the available units.
|
| Constructor and Description |
|---|
Measure(Number number,
MeasureUnit unit)
Constructs a new object given a number and a unit.
|
Copyright (c) 2014 IBM Corporation and others.