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 |
---|---|
TimeZoneNames.NameType |
TimeZoneNames.MatchInfo.nameType()
Returns the time zone name type.
|
static TimeZoneNames.NameType |
TimeZoneNames.NameType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeZoneNames.NameType[] |
TimeZoneNames.NameType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
String |
TimeZoneNames.getDisplayName(String tzID,
TimeZoneNames.NameType type,
long date)
Returns the display name of the time zone at the given date.
|
void |
TimeZoneNames.getDisplayNames(String tzID,
TimeZoneNames.NameType[] types,
long date,
String[] dest,
int destOffset)
Deprecated.
This API is ICU internal only.
|
abstract String |
TimeZoneNames.getMetaZoneDisplayName(String mzID,
TimeZoneNames.NameType type)
Returns the display name of the meta zone.
|
abstract String |
TimeZoneNames.getTimeZoneDisplayName(String tzID,
TimeZoneNames.NameType type)
Returns the display name of the time zone.
|
Modifier and Type | Method and Description |
---|---|
Collection<TimeZoneNames.MatchInfo> |
TimeZoneNames.find(CharSequence text,
int start,
EnumSet<TimeZoneNames.NameType> types)
Finds time zone name prefix matches for the input text at the
given offset and returns a collection of the matches.
|
Constructor and Description |
---|
MatchInfo(TimeZoneNames.NameType nameType,
String tzID,
String mzID,
int matchLength)
Constructing a
MatchInfo . |
Copyright © 2016 Unicode, Inc. and others.