Package | Description |
---|---|
com.ibm.icu.text |
Extensions and enhancements to java.text to support unicode transforms, UnicodeSet, surrogate char utilities, UCA collation, normalization, break iteration (rule and dictionary based), enhanced number format, international string searching, and arabic shaping.
|
com.ibm.icu.util |
International calendars and other utility classes.
|
Modifier and Type | Method and Description |
---|---|
StringBuilder |
MeasureFormat.formatMeasuresPer(StringBuilder appendTo,
FieldPosition fieldPosition,
MeasureUnit perUnit,
Measure... measures)
Deprecated.
This API is ICU internal only.
|
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.ACRE_FOOT
Constant for unit of volume: acre-foot
|
static MeasureUnit |
MeasureUnit.AMPERE
Constant for unit of electric: ampere
|
static MeasureUnit |
MeasureUnit.ARC_MINUTE
Constant for unit of angle: arc-minute
|
static MeasureUnit |
MeasureUnit.ARC_SECOND
Constant for unit of angle: arc-second
|
static MeasureUnit |
MeasureUnit.ASTRONOMICAL_UNIT
Constant for unit of length: astronomical-unit
|
static MeasureUnit |
MeasureUnit.BIT
Constant for unit of digital: bit
|
static MeasureUnit |
MeasureUnit.BUSHEL
Constant for unit of volume: bushel
|
static MeasureUnit |
MeasureUnit.BYTE
Constant for unit of digital: byte
|
static MeasureUnit |
MeasureUnit.CALORIE
Constant for unit of energy: calorie
|
static MeasureUnit |
MeasureUnit.CARAT
Constant for unit of mass: carat
|
static MeasureUnit |
MeasureUnit.CELSIUS
Constant for unit of temperature: celsius
|
static MeasureUnit |
MeasureUnit.CENTILITER
Constant for unit of volume: centiliter
|
static MeasureUnit |
MeasureUnit.CENTIMETER
Constant for unit of length: centimeter
|
static MeasureUnit |
MeasureUnit.CUBIC_CENTIMETER
Constant for unit of volume: cubic-centimeter
|
static MeasureUnit |
MeasureUnit.CUBIC_FOOT
Constant for unit of volume: cubic-foot
|
static MeasureUnit |
MeasureUnit.CUBIC_INCH
Constant for unit of volume: cubic-inch
|
static MeasureUnit |
MeasureUnit.CUBIC_KILOMETER
Constant for unit of volume: cubic-kilometer
|
static MeasureUnit |
MeasureUnit.CUBIC_METER
Constant for unit of volume: cubic-meter
|
static MeasureUnit |
MeasureUnit.CUBIC_MILE
Constant for unit of volume: cubic-mile
|
static MeasureUnit |
MeasureUnit.CUBIC_YARD
Constant for unit of volume: cubic-yard
|
static MeasureUnit |
MeasureUnit.CUP
Constant for unit of volume: cup
|
static MeasureUnit |
MeasureUnit.DECILITER
Constant for unit of volume: deciliter
|
static MeasureUnit |
MeasureUnit.DECIMETER
Constant for unit of length: decimeter
|
static MeasureUnit |
MeasureUnit.DEGREE
Constant for unit of angle: degree
|
static MeasureUnit |
MeasureUnit.FAHRENHEIT
Constant for unit of temperature: fahrenheit
|
static MeasureUnit |
MeasureUnit.FATHOM
Constant for unit of length: fathom
|
static MeasureUnit |
MeasureUnit.FLUID_OUNCE
Constant for unit of volume: fluid-ounce
|
static MeasureUnit |
MeasureUnit.FOODCALORIE
Constant for unit of energy: foodcalorie
|
static MeasureUnit |
MeasureUnit.FOOT
Constant for unit of length: foot
|
static MeasureUnit |
MeasureUnit.FURLONG
Constant for unit of length: furlong
|
static MeasureUnit |
MeasureUnit.G_FORCE
Constant for unit of acceleration: g-force
|
static MeasureUnit |
MeasureUnit.GALLON
Constant for unit of volume: gallon
|
static MeasureUnit |
MeasureUnit.GIGABIT
Constant for unit of digital: gigabit
|
static MeasureUnit |
MeasureUnit.GIGABYTE
Constant for unit of digital: gigabyte
|
static MeasureUnit |
MeasureUnit.GIGAHERTZ
Constant for unit of frequency: gigahertz
|
static MeasureUnit |
MeasureUnit.GIGAWATT
Constant for unit of power: gigawatt
|
static MeasureUnit |
MeasureUnit.GRAM
Constant for unit of mass: gram
|
static MeasureUnit |
MeasureUnit.HECTARE
Constant for unit of area: hectare
|
static MeasureUnit |
MeasureUnit.HECTOLITER
Constant for unit of volume: hectoliter
|
static MeasureUnit |
MeasureUnit.HECTOPASCAL
Constant for unit of pressure: hectopascal
|
static MeasureUnit |
MeasureUnit.HERTZ
Constant for unit of frequency: hertz
|
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.JOULE
Constant for unit of energy: joule
|
static MeasureUnit |
MeasureUnit.KARAT
Constant for unit of proportion: karat
|
static MeasureUnit |
MeasureUnit.KELVIN
Constant for unit of temperature: kelvin
|
static MeasureUnit |
MeasureUnit.KILOBIT
Constant for unit of digital: kilobit
|
static MeasureUnit |
MeasureUnit.KILOBYTE
Constant for unit of digital: kilobyte
|
static MeasureUnit |
MeasureUnit.KILOCALORIE
Constant for unit of energy: kilocalorie
|
static MeasureUnit |
MeasureUnit.KILOGRAM
Constant for unit of mass: kilogram
|
static MeasureUnit |
MeasureUnit.KILOHERTZ
Constant for unit of frequency: kilohertz
|
static MeasureUnit |
MeasureUnit.KILOJOULE
Constant for unit of energy: kilojoule
|
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.KILOWATT_HOUR
Constant for unit of energy: kilowatt-hour
|
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.LITER_PER_KILOMETER
Constant for unit of consumption: liter-per-kilometer
|
static MeasureUnit |
MeasureUnit.LUX
Constant for unit of light: lux
|
static MeasureUnit |
MeasureUnit.MEGABIT
Constant for unit of digital: megabit
|
static MeasureUnit |
MeasureUnit.MEGABYTE
Constant for unit of digital: megabyte
|
static MeasureUnit |
MeasureUnit.MEGAHERTZ
Constant for unit of frequency: megahertz
|
static MeasureUnit |
MeasureUnit.MEGALITER
Constant for unit of volume: megaliter
|
static MeasureUnit |
MeasureUnit.MEGAWATT
Constant for unit of power: megawatt
|
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.METER_PER_SECOND_SQUARED
Constant for unit of acceleration: meter-per-second-squared
|
static MeasureUnit |
MeasureUnit.METRIC_TON
Constant for unit of mass: metric-ton
|
static MeasureUnit |
MeasureUnit.MICROGRAM
Constant for unit of mass: microgram
|
static MeasureUnit |
MeasureUnit.MICROMETER
Constant for unit of length: micrometer
|
static MeasureUnit |
MeasureUnit.MICROSECOND
Constant for unit of duration: microsecond
|
static MeasureUnit |
MeasureUnit.MILE
Constant for unit of length: mile
|
static MeasureUnit |
MeasureUnit.MILE_PER_GALLON
Constant for unit of consumption: mile-per-gallon
|
static MeasureUnit |
MeasureUnit.MILE_PER_HOUR
Constant for unit of speed: mile-per-hour
|
static MeasureUnit |
MeasureUnit.MILLIAMPERE
Constant for unit of electric: milliampere
|
static MeasureUnit |
MeasureUnit.MILLIBAR
Constant for unit of pressure: millibar
|
static MeasureUnit |
MeasureUnit.MILLIGRAM
Constant for unit of mass: milligram
|
static MeasureUnit |
MeasureUnit.MILLILITER
Constant for unit of volume: milliliter
|
static MeasureUnit |
MeasureUnit.MILLIMETER
Constant for unit of length: millimeter
|
static MeasureUnit |
MeasureUnit.MILLIMETER_OF_MERCURY
Constant for unit of pressure: millimeter-of-mercury
|
static MeasureUnit |
MeasureUnit.MILLISECOND
Constant for unit of duration: millisecond
|
static MeasureUnit |
MeasureUnit.MILLIWATT
Constant for unit of power: milliwatt
|
static MeasureUnit |
MeasureUnit.NANOMETER
Constant for unit of length: nanometer
|
static MeasureUnit |
MeasureUnit.NANOSECOND
Constant for unit of duration: nanosecond
|
static MeasureUnit |
MeasureUnit.NAUTICAL_MILE
Constant for unit of length: nautical-mile
|
static MeasureUnit |
MeasureUnit.OHM
Constant for unit of electric: ohm
|
static MeasureUnit |
MeasureUnit.OUNCE
Constant for unit of mass: ounce
|
static MeasureUnit |
MeasureUnit.OUNCE_TROY
Constant for unit of mass: ounce-troy
|
static MeasureUnit |
MeasureUnit.PARSEC
Constant for unit of length: parsec
|
static MeasureUnit |
MeasureUnit.PICOMETER
Constant for unit of length: picometer
|
static MeasureUnit |
MeasureUnit.PINT
Constant for unit of volume: pint
|
static MeasureUnit |
MeasureUnit.POUND
Constant for unit of mass: pound
|
static MeasureUnit |
MeasureUnit.POUND_PER_SQUARE_INCH
Constant for unit of pressure: pound-per-square-inch
|
static MeasureUnit |
MeasureUnit.QUART
Constant for unit of volume: quart
|
static MeasureUnit |
MeasureUnit.RADIAN
Constant for unit of angle: radian
|
static MeasureUnit |
MeasureUnit.SQUARE_CENTIMETER
Constant for unit of area: square-centimeter
|
static MeasureUnit |
MeasureUnit.SQUARE_FOOT
Constant for unit of area: square-foot
|
static MeasureUnit |
MeasureUnit.SQUARE_INCH
Constant for unit of area: square-inch
|
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.SQUARE_YARD
Constant for unit of area: square-yard
|
static MeasureUnit |
MeasureUnit.STONE
Constant for unit of mass: stone
|
static MeasureUnit |
MeasureUnit.TABLESPOON
Constant for unit of volume: tablespoon
|
static MeasureUnit |
MeasureUnit.TEASPOON
Constant for unit of volume: teaspoon
|
static MeasureUnit |
MeasureUnit.TERABIT
Constant for unit of digital: terabit
|
static MeasureUnit |
MeasureUnit.TERABYTE
Constant for unit of digital: terabyte
|
static MeasureUnit |
MeasureUnit.TON
Constant for unit of mass: ton
|
static MeasureUnit |
MeasureUnit.VOLT
Constant for unit of electric: volt
|
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.