icu::TimeZoneNames::MatchInfoCollection Class Reference
MatchInfoCollection
represents a collection of time zone name matches used by TimeZoneNames#find.
More...
#include <tznames.h>
Detailed Description
MatchInfoCollection
represents a collection of time zone name matches used by TimeZoneNames#find.
- Internal:
- Do not use. This API is for internal use only.
Definition at line 267 of file tznames.h.
Constructor & Destructor Documentation
icu::TimeZoneNames::MatchInfoCollection::MatchInfoCollection |
( |
|
) |
|
Constructor.
- Internal:
- Do not use. This API is for internal use only.
virtual icu::TimeZoneNames::MatchInfoCollection::~MatchInfoCollection |
( |
|
) |
[virtual] |
Destructor.
- Internal:
- Do not use. This API is for internal use only.
Member Function Documentation
Adds a meata zone match.
- Parameters:
-
| nameType | The name type. |
| matchLength | The match length. |
| mzID | The metazone ID. |
| status | Receives the status |
- Internal:
- Do not use. This API is for internal use only.
Adds a zone match.
- Parameters:
-
| nameType | The name type. |
| matchLength | The match length. |
| tzID | The time zone ID. |
| status | Receives the status |
- Internal:
- Do not use. This API is for internal use only.
int32_t icu::TimeZoneNames::MatchInfoCollection::getMatchLengthAt |
( |
int32_t |
idx |
) |
const |
Returns the match length of a match at the specified index.
- Parameters:
-
- Returns:
- The match length. If the specified idx is out of range, it returns 0.
- Internal:
- Do not use. This API is for internal use only.
UBool icu::TimeZoneNames::MatchInfoCollection::getMetaZoneIDAt |
( |
int32_t |
idx, |
|
|
UnicodeString & |
mzID | |
|
) |
| | const |
Gets the metazone ID of a match at the specified index.
- Parameters:
-
| idx | The index |
| mzID | Receives the metazone ID |
- Returns:
- TRUE if the meta zone ID was set to mzID.
- Internal:
- Do not use. This API is for internal use only.
UTimeZoneNameType icu::TimeZoneNames::MatchInfoCollection::getNameTypeAt |
( |
int32_t |
idx |
) |
const |
Returns the time zone name type of a match at the specified index.
- Parameters:
-
- Returns:
- The time zone name type. If the specified idx is out of range, it returns UTZNM_UNKNOWN.
- See also:
- UTimeZoneNameType
- Internal:
- Do not use. This API is for internal use only.
UBool icu::TimeZoneNames::MatchInfoCollection::getTimeZoneIDAt |
( |
int32_t |
idx, |
|
|
UnicodeString & |
tzID | |
|
) |
| | const |
Gets the zone ID of a match at the specified index.
- Parameters:
-
| idx | The index |
| tzID | Receives the zone ID. |
- Returns:
- TRUE if the zone ID was set to tzID.
- Internal:
- Do not use. This API is for internal use only.
int32_t icu::TimeZoneNames::MatchInfoCollection::size |
( |
|
) |
const |
Returns the number of entries available in this object.
- Returns:
- The number of entries.
- Internal:
- Do not use. This API is for internal use only.
The documentation for this class was generated from the following file: