# ICU4J API Comparison: ICU4J 67.1 with ICU4J 68.1

## Removed from ICU4J 67.1

(no API removed)

## Deprecated or Obsoleted in ICU4J 68.1

(no API obsoleted)

## Changed in ICU4J 68.1 (old, new)

### Package com.ibm.icu.util

- (draft) public class NoUnit extends com.ibm.icu.util.MeasureUnit (draft) public final class NoUnit extends java.lang.Object
NoUnit

- (draft) public static final com.ibm.icu.util.NoUnit BASE (draft) public static final com.ibm.icu.util.MeasureUnit BASE
- (draft) public static final com.ibm.icu.util.NoUnit PERCENT (draft) public static final com.ibm.icu.util.MeasureUnit PERCENT
- (draft) public static final com.ibm.icu.util.NoUnit PERMILLE (draft) public static final com.ibm.icu.util.MeasureUnit PERMILLE

## Promoted to stable in ICU4J 68.1

### Package com.ibm.icu.text

RelativeDateTimeFormatter.AbsoluteUnit

- (stable) public static final RelativeDateTimeFormatter.AbsoluteUnit HOUR
- (stable) public static final RelativeDateTimeFormatter.AbsoluteUnit MINUTE

### Package com.ibm.icu.util

- (stable) public static final class LocaleMatcher.Builder
- (stable) public static final class LocaleMatcher.Result
- (stable) public static enum LocaleMatcher.Demotion
- (stable) public static enum LocaleMatcher.FavorSubtag
- (stable) public static enum ULocale.AvailableType
LocaleMatcher

- (stable) public static LocaleMatcher.Builder builder()
- (stable) public java.util.Locale getBestLocale(java.lang.Iterable<java.util.Locale>)
- (stable) public java.util.Locale getBestLocale(java.util.Locale)
- (stable) public LocaleMatcher.Result getBestLocaleResult(java.lang.Iterable<java.util.Locale>)
- (stable) public LocaleMatcher.Result getBestLocaleResult(java.util.Locale)
- (stable) public LocaleMatcher.Result getBestMatchResult(ULocale)
- (stable) public LocaleMatcher.Result getBestMatchResult(java.lang.Iterable<ULocale>)

LocaleMatcher.Demotion

- (stable) public static final LocaleMatcher.Demotion NONE
- (stable) public static final LocaleMatcher.Demotion REGION

LocaleMatcher.FavorSubtag

- (stable) public static final LocaleMatcher.FavorSubtag LANGUAGE
- (stable) public static final LocaleMatcher.FavorSubtag SCRIPT

LocalePriorityList

- (stable) public java.util.Set<ULocale> getULocales()

MeasureUnit

- (stable) public static final MeasureUnit BAR
- (stable) public static final MeasureUnit DECADE
- (stable) public static final MeasureUnit DOT_PER_CENTIMETER
- (stable) public static final MeasureUnit DOT_PER_INCH
- (stable) public static final MeasureUnit EM
- (stable) public static final MeasureUnit MEGAPIXEL
- (stable) public static final MeasureUnit PASCAL
- (stable) public static final MeasureUnit PIXEL
- (stable) public static final MeasureUnit PIXEL_PER_CENTIMETER
- (stable) public static final MeasureUnit PIXEL_PER_INCH
- (stable) public static final MeasureUnit THERM_US

ULocale

- (stable) public static java.util.Collection<ULocale> getAvailableLocalesByType(ULocale.AvailableType)

ULocale.AvailableType

- (stable) public static final ULocale.AvailableType DEFAULT
- (stable) public static final ULocale.AvailableType ONLY_LEGACY_ALIASES
- (stable) public static final ULocale.AvailableType WITH_LEGACY_ALIASES

## Added in ICU4J 68.1

### Package com.ibm.icu.number

FormattedNumber

- (draft) public MeasureUnit getOutputUnit()

NumberFormatterSettings

- (draft) public T extends NumberFormatterSettings<?> usage(java.lang.String)

### Package com.ibm.icu.text

DateIntervalFormat

- (draft) public DisplayContext getContext(DisplayContext.Type)
- (draft) public void setContext(DisplayContext)

DecimalFormat

- (draft) public static final int MINIMUM_GROUPING_DIGITS_AUTO
- (draft) public static final int MINIMUM_GROUPING_DIGITS_MIN2

PluralRules

- (draft) public java.lang.String select(FormattedNumberRange)

### Package com.ibm.icu.util

- (draft) public class ICUInputTooLongException
- (draft) public static enum MeasureUnit.Complexity
- (draft) public static enum MeasureUnit.SIPrefix
LocaleMatcher

- (draft) public boolean isMatch(ULocale, ULocale)
- (draft) public boolean isMatch(java.util.Locale, java.util.Locale)

LocaleMatcher.Builder

- (draft) public LocaleMatcher.Builder setMaxDistance(ULocale, ULocale)
- (draft) public LocaleMatcher.Builder setMaxDistance(java.util.Locale, java.util.Locale)
- (draft) public LocaleMatcher.Builder setNoDefaultLocale()

MeasureUnit

- (draft) public static final MeasureUnit CANDELA
- (draft) public static final MeasureUnit DESSERT_SPOON
- (draft) public static final MeasureUnit DESSERT_SPOON_IMPERIAL
- (draft) public static final MeasureUnit DOT
- (draft) public static final MeasureUnit DRAM
- (draft) public static final MeasureUnit DROP
- (draft) public static final MeasureUnit EARTH_RADIUS
- (draft) public static final MeasureUnit GRAIN
- (draft) public static final MeasureUnit JIGGER
- (draft) public static final MeasureUnit LUMEN
- (draft) public static final MeasureUnit PINCH
- (draft) public static final MeasureUnit QUART_IMPERIAL
- (draft) public static MeasureUnit forIdentifier(java.lang.String)
- (draft) public MeasureUnit.Complexity getComplexity()
- (draft) public int getDimensionality()
- (draft) public java.lang.String getIdentifier()
- (draft) public MeasureUnit.SIPrefix getSIPrefix()
- (draft) public MeasureUnit product(MeasureUnit)
- (draft) public MeasureUnit reciprocal()
- (draft) public java.util.List<MeasureUnit> splitToSingleUnits()
- (draft) public MeasureUnit withDimensionality(int)
- (draft) public MeasureUnit withSIPrefix(MeasureUnit.SIPrefix)

MeasureUnit.Complexity

- (draft) public static final MeasureUnit.Complexity COMPOUND
- (draft) public static final MeasureUnit.Complexity MIXED
- (draft) public static final MeasureUnit.Complexity SINGLE

MeasureUnit.SIPrefix

- (draft) public int getPower()
- (draft) public static final MeasureUnit.SIPrefix ATTO
- (draft) public static final MeasureUnit.SIPrefix CENTI
- (draft) public static final MeasureUnit.SIPrefix DECI
- (draft) public static final MeasureUnit.SIPrefix DEKA
- (draft) public static final MeasureUnit.SIPrefix EXA
- (draft) public static final MeasureUnit.SIPrefix FEMTO
- (draft) public static final MeasureUnit.SIPrefix GIGA
- (draft) public static final MeasureUnit.SIPrefix HECTO
- (draft) public static final MeasureUnit.SIPrefix KILO
- (draft) public static final MeasureUnit.SIPrefix MEGA
- (draft) public static final MeasureUnit.SIPrefix MICRO
- (draft) public static final MeasureUnit.SIPrefix MILLI
- (draft) public static final MeasureUnit.SIPrefix NANO
- (draft) public static final MeasureUnit.SIPrefix ONE
- (draft) public static final MeasureUnit.SIPrefix PETA
- (draft) public static final MeasureUnit.SIPrefix PICO
- (draft) public static final MeasureUnit.SIPrefix TERA
- (draft) public static final MeasureUnit.SIPrefix YOCTO
- (draft) public static final MeasureUnit.SIPrefix YOTTA
- (draft) public static final MeasureUnit.SIPrefix ZEPTO
- (draft) public static final MeasureUnit.SIPrefix ZETTA

Contents generated by ReportAPI tool on Fri Oct 23 11:19:04 PDT 2020
© 2020 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html