Added in API level 24

UFormat


public abstract class UFormat
extends Format

java.lang.Object
   ↳ java.text.Format
     ↳ android.icu.text.UFormat
DateFormat [icu enhancement] ICU's replacement for DateFormat. Methods, fields, and other functionality specific to ICU are labeled '[icu]'. 
DateIntervalFormat DateIntervalFormat is a class for formatting and parsing date intervals in a language-independent manner. 
MeasureFormat A formatter for Measure objects. 
MessageFormat [icu enhancement] ICU's replacement for MessageFormat. Methods, fields, and other functionality specific to ICU are labeled '[icu]'. 
NumberFormat [icu enhancement] ICU's replacement for NumberFormat. Methods, fields, and other functionality specific to ICU are labeled '[icu]'. 
PluralFormat PluralFormat supports the creation of internationalized messages with plural inflection. 
TimeZoneFormat TimeZoneFormat supports time zone display name formatting and parsing. 
CompactDecimalFormat Formats numbers in compact (abbreviated) notation, like "1.2K" instead of "1200". 
DecimalFormat [icu enhancement] ICU's replacement for DecimalFormat. Methods, fields, and other functionality specific to ICU are labeled '[icu]'. 
SimpleDateFormat [icu enhancement] ICU's replacement for SimpleDateFormat. Methods, fields, and other functionality specific to ICU are labeled '[icu]'. 


An abstract class that extends Format to provide additional ICU protocol, specifically, the getLocale() API. All ICU format classes are subclasses of this class.

See also:

Summary

Public constructors

UFormat()

Default constructor.

Inherited methods

Object clone()

Creates and returns a copy of this object.

final String format(Object obj)

Formats an object to produce a string.

abstract StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition pos)

Formats an object and appends the resulting text to a given string buffer.

AttributedCharacterIterator formatToCharacterIterator(Object obj)

Formats an Object producing an AttributedCharacterIterator.

Object parseObject(String source)

Parses text from the beginning of the given string to produce an object.

abstract Object parseObject(String source, ParsePosition pos)

Parses text from a string to produce an object.

Object clone()

Creates and returns a copy of this object.

boolean equals(Object obj)

Indicates whether some other object is "equal to" this one.

void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

final Class<?> getClass()

Returns the runtime class of this Object.

int hashCode()

Returns a hash code value for the object.

final void notify()

Wakes up a single thread that is waiting on this object's monitor.

final void notifyAll()

Wakes up all threads that are waiting on this object's monitor.

String toString()

Returns a string representation of the object.

final void wait(long timeoutMillis, int nanos)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait(long timeoutMillis)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait()

Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

Public constructors

UFormat

Added in API level 24
public UFormat ()

Default constructor.