HomeSort by relevance Sort by last modified time
    Searched refs:TimeZoneNames (Results 1 - 16 of 16) sorted by null

  /external/icu4c/i18n/unicode/
tznames.h 12 * \brief C++ API: TimeZoneNames
74 * <code>TimeZoneNames</code> is an abstract class representing the time zone display name data model defined
116 class U_I18N_API TimeZoneNames : public UObject {
122 virtual ~TimeZoneNames();
125 * Return true if the given TimeZoneNames objects are emantically equal.
130 virtual UBool operator==(const TimeZoneNames& other) const = 0;
133 * Return true if the given TimeZoneNames objects are not semantically
139 UBool operator!=(const TimeZoneNames& other) const { return !operator==(other); }
147 virtual TimeZoneNames* clone() const = 0;
157 static TimeZoneNames* U_EXPORT2 createInstance(const Locale& locale, UErrorCode& status)
    [all...]
tzfmt.h 156 * Unicode Locale Data Markup Language (LDML)</a>. {@link TimeZoneNames} represents the
161 * @see TimeZoneNames
217 const TimeZoneNames* getTimeZoneNames() const;
223 * @param tznames TimeZoneNames object to be adopted.
226 void adoptTimeZoneNames(TimeZoneNames *tznames);
230 * @param tznames TimeZoneNames object to be set.
233 void setTimeZoneNames(const TimeZoneNames &tznames);
537 /* TimeZoneNames object used by this formatter */
538 TimeZoneNames* fTimeZoneNames;
832 UnicodeString& getTimeZoneID(const TimeZoneNames::MatchInfoCollection* matches, int32_t idx, UnicodeString& tzID) const
    [all...]
  /external/icu4c/i18n/
tznames.cpp 35 // TimeZoneNames object cache handling
54 TimeZoneNames* names;
106 class TimeZoneNamesDelegate : public TimeZoneNames {
111 virtual UBool operator==(const TimeZoneNames& other) const;
112 virtual UBool operator!=(const TimeZoneNames& other) const {return !operator==(other);};
113 virtual TimeZoneNames* clone() const;
166 TimeZoneNames *tznames = NULL;
235 TimeZoneNamesDelegate::operator==(const TimeZoneNames& other) const {
248 TimeZoneNames*
298 TimeZoneNames::MatchInfoCollection
    [all...]
tznames_impl.h 14 * \brief C++ API: TimeZoneNames object
165 class TimeZoneNamesImpl : public TimeZoneNames {
171 virtual UBool operator==(const TimeZoneNames& other) const;
172 virtual TimeZoneNames* clone() const;
185 TimeZoneNames::MatchInfoCollection* find(const UnicodeString& text, int32_t start, uint32_t types, UErrorCode& status) const;
tznames_impl.cpp 735 TimeZoneNames::MatchInfoCollection* getMatches(int32_t& maxMatchLen);
740 TimeZoneNames::MatchInfoCollection* fResults;
768 fResults = new TimeZoneNames::MatchInfoCollection();
791 TimeZoneNames::MatchInfoCollection*
794 TimeZoneNames::MatchInfoCollection* results = fResults;
806 // TimeZoneNames implementation class. This is the main
934 TimeZoneNamesImpl::operator==(const TimeZoneNames& other) const {
942 TimeZoneNames*
1078 return TimeZoneNames::getExemplarLocationName(tzID, name);
    [all...]
tzfmt.cpp 270 fTimeZoneNames = TimeZoneNames::createInstance(locale, status);
432 const TimeZoneNames*
434 return (const TimeZoneNames*)fTimeZoneNames;
438 TimeZoneFormat::adoptTimeZoneNames(TimeZoneNames *tznames) {
446 TimeZoneFormat::setTimeZoneNames(const TimeZoneNames &tznames) {
733 LocalPointer<TimeZoneNames::MatchInfoCollection> specificMatches(fTimeZoneNames->find(text, startIdx, nameTypes, status));
888 LocalPointer<TimeZoneNames::MatchInfoCollection> spAllMatches(fTimeZoneNames->find(text, startIdx, ALL_SPECIFIC_NAME_TYPES, status));
    [all...]
tzgnames.cpp 287 const TimeZoneNames* fTimeZoneNames;
321 TimeZoneNames::MatchInfoCollection* findTimeZoneNames(const UnicodeString& text, int32_t start, uint32_t types, UErrorCode& status) const;
328 // TimeZoneGenericNames is parallel to TimeZoneNames,
356 // TimeZoneNames
357 fTimeZoneNames = TimeZoneNames::createInstance(locale, status);
927 // Find matches in the TimeZoneNames first
928 TimeZoneNames::MatchInfoCollection *tznamesMatches = findTimeZoneNames(text, start, types, status);
    [all...]
timezone.cpp     [all...]
dtfmtsym.cpp     [all...]
  /libcore/luni/src/test/java/libcore/icu/
TimeZoneNamesTest.java 26 String[] ids = TimeZoneNames.forLocale(Locale.CANADA);
53 String[] ids = TimeZoneNames.forLocale(Locale.KOREA);
59 assertTrue(TimeZoneNames.forLocale(l) != null);
  /libcore/luni/src/main/java/java/util/
TimeZone.java 24 import libcore.icu.TimeZoneNames;
174 String[][] zoneStrings = TimeZoneNames.getZoneStrings(locale);
175 String result = TimeZoneNames.getDisplayName(zoneStrings, getID(), daylightTime, style);
186 // TODO: should we generate these once, in TimeZoneNames.getDisplayName? Revisit when we
  /libcore/luni/src/main/native/
libcore_icu_TimeZoneNames.cpp 17 #define LOG_TAG "TimeZoneNames"
62 UniquePtr<TimeZoneNames> names(TimeZoneNames::createInstance(locale, status));
63 if (maybeThrowIcuException(env, "TimeZoneNames::createInstance", status)) {
114 NATIVE_METHOD(TimeZoneNames, fillZoneStrings, "(Ljava/lang/String;[[Ljava/lang/String;)V"),
117 jniRegisterNativeMethods(env, "libcore/icu/TimeZoneNames", gMethods, NELEM(gMethods));
  /libcore/luni/src/main/java/libcore/icu/
TimeZoneNames.java 31 public final class TimeZoneNames {
113 private TimeZoneNames() {}
  /libcore/luni/src/main/java/java/text/
DateFormatSymbols.java 29 import libcore.icu.TimeZoneNames;
83 zoneStrings = TimeZoneNames.getZoneStrings(locale);
SimpleDateFormat.java 33 import libcore.icu.TimeZoneNames;
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
MccTable.java 34 import libcore.icu.TimeZoneNames;
109 String[] tz = TimeZoneNames.forLocale(locale);

Completed in 935 milliseconds