com.ibm.icu.text
public abstract class UFormat extends Format
See Also: ULocale
UNKNOWN: ICU 2.8 (retain) This API might change or be removed in a future release.
Constructor Summary | |
---|---|
UFormat() |
Method Summary | |
---|---|
ULocale | getLocale(ULocale.Type type)
Return the locale that was used to create this object, or null.
|
UNKNOWN: ICU 2.8 (retain) This API might change or be removed in a future release.
Note: This method will be implemented in ICU 3.0; ICU 2.8 contains a partial preview implementation. The actual locale is returned correctly, but the valid locale is not, in most cases.
Parameters: type type of information requested, either {@link com.ibm.icu.util.ULocale#VALID_LOCALE} or {@link com.ibm.icu.util.ULocale#ACTUAL_LOCALE}.
Returns: the information specified by type, or null if this object was not constructed from locale data.
See Also: ULocale VALID_LOCALE ACTUAL_LOCALE
UNKNOWN: ICU 2.8 (retain) This API might change or be removed in a future release.