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.
|
Modifier and Type | Method and Description |
---|---|
DisplayContext |
SimpleDateFormat.getContext(DisplayContext.Type type)
[icu] Get the formatter's DisplayContext value for the specified DisplayContext.Type,
such as CAPITALIZATION.
|
abstract DisplayContext |
LocaleDisplayNames.getContext(DisplayContext.Type type)
Returns the current value for a specified DisplayContext.Type.
|
static DisplayContext |
DisplayContext.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DisplayContext[] |
DisplayContext.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static LocaleDisplayNames |
LocaleDisplayNames.getInstance(ULocale locale,
DisplayContext... contexts)
Returns an instance of LocaleDisplayNames that returns names formatted for the provided locale,
using the provided DisplayContext settings
|
void |
SimpleDateFormat.setContext(DisplayContext context)
[icu] Set a particular DisplayContext value in the formatter,
such as CAPITALIZATION_FOR_STANDALONE.
|
protected String |
SimpleDateFormat.subFormat(char ch,
int count,
int beginOffset,
int fieldNum,
DisplayContext capitalizationContext,
FieldPosition pos,
Calendar cal)
Deprecated.
This API is ICU internal only.
|
protected void |
SimpleDateFormat.subFormat(StringBuffer buf,
char ch,
int count,
int beginOffset,
int fieldNum,
DisplayContext capitalizationContext,
FieldPosition pos,
Calendar cal)
Deprecated.
This API is ICU internal only.
|
protected void |
ChineseDateFormat.subFormat(StringBuffer buf,
char ch,
int count,
int beginOffset,
int fieldNum,
DisplayContext capitalizationContext,
FieldPosition pos,
Calendar cal)
Deprecated.
This API is ICU internal only.
|
Copyright (c) 2013 IBM Corporation and others.