|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.icu.text.TimeZoneNames.MatchInfo
public static class TimeZoneNames.MatchInfo
A MatchInfo
represents a time zone name match used by
TimeZoneNames.find(String, int, EnumSet)
.
Constructor Summary | |
---|---|
TimeZoneNames.MatchInfo(TimeZoneNames.NameType nameType,
String tzID,
String mzID,
int matchLength)
Deprecated. This API might change or be removed in a future release. |
Method Summary | |
---|---|
int |
matchLength()
Deprecated. This API might change or be removed in a future release. |
String |
mzID()
Deprecated. This API might change or be removed in a future release. |
TimeZoneNames.NameType |
nameType()
Deprecated. This API might change or be removed in a future release. |
String |
tzID()
Deprecated. This API might change or be removed in a future release. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimeZoneNames.MatchInfo(TimeZoneNames.NameType nameType, String tzID, String mzID, int matchLength)
MatchInfo
.
nameType
- the name type enum.tzID
- the time zone ID, or nullmzID
- the meta zone ID, or nullmatchLength
- the match length.
IllegalArgumentException
- when 1) nameType
is null
,
or 2) both tzID
and mzID
are null
,
or 3) matchLength
is 0 or smaller.TimeZoneNames.NameType
Method Detail |
---|
public String tzID()
null
if not available.
Note: A MatchInfo
must have either a time zone ID
or a meta zone ID.
null
.mzID()
public String mzID()
null
if not available.
Note: A MatchInfo
must have either a time zone ID
or a meta zone ID.
null
.tzID()
public TimeZoneNames.NameType nameType()
TimeZoneNames.NameType
public int matchLength()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |