/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); 64 assertEquals("Moscow", TimeZoneNames.getExemplarLocation("en_US", "Europe/Moscow")); 65 assertEquals("Moskau", TimeZoneNames.getExemplarLocation("de_DE", "Europe/Moscow")); 66 assertEquals("Seoul", TimeZoneNames.getExemplarLocation("en_US", "Asia/Seoul")); 67 assertEquals("??", TimeZoneNames.getExemplarLocation("ko_KR", "Asia/Seoul"));
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
tznames.h | 12 * \brief C++ API: TimeZoneNames 80 * <code>TimeZoneNames</code> is an abstract class representing the time zone display name data model defined 121 * The default <code>TimeZoneNames</code> implementation returned by {@link #createInstance} 125 * what locale is used for getting an instance of <code>TimeZoneNames</code>. 129 class U_I18N_API TimeZoneNames : public UObject { 135 virtual ~TimeZoneNames(); 138 * Return true if the given TimeZoneNames objects are emantically equal. 143 virtual UBool operator==(const TimeZoneNames& other) const = 0; 146 * Return true if the given TimeZoneNames objects are not semantically 152 UBool operator!=(const TimeZoneNames& other) const { return !operator==(other); [all...] |
tzfmt.h | 256 * Unicode Locale Data Markup Language (LDML)</a>. {@link TimeZoneNames} represents the 261 * @see TimeZoneNames 317 const TimeZoneNames* getTimeZoneNames() const; 323 * @param tznames TimeZoneNames object to be adopted. 326 void adoptTimeZoneNames(TimeZoneNames *tznames); 330 * @param tznames TimeZoneNames object to be set. 333 void setTimeZoneNames(const TimeZoneNames &tznames); 679 /* TimeZoneNames object used by this formatter */ 680 TimeZoneNames* fTimeZoneNames; [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
tznames.h | 12 * \brief C++ API: TimeZoneNames 78 * <code>TimeZoneNames</code> is an abstract class representing the time zone display name data model defined 119 * The default <code>TimeZoneNames</code> implementation returned by {@link #createInstance} 123 * what locale is used for getting an instance of <code>TimeZoneNames</code>. 127 class U_I18N_API TimeZoneNames : public UObject { 133 virtual ~TimeZoneNames(); 136 * Return true if the given TimeZoneNames objects are emantically equal. 141 virtual UBool operator==(const TimeZoneNames& other) const = 0; 144 * Return true if the given TimeZoneNames objects are not semantically 150 UBool operator!=(const TimeZoneNames& other) const { return !operator==(other); [all...] |
tzfmt.h | 253 * Unicode Locale Data Markup Language (LDML)</a>. {@link TimeZoneNames} represents the 258 * @see TimeZoneNames 314 const TimeZoneNames* getTimeZoneNames() const; 320 * @param tznames TimeZoneNames object to be adopted. 323 void adoptTimeZoneNames(TimeZoneNames *tznames); 327 * @param tznames TimeZoneNames object to be set. 330 void setTimeZoneNames(const TimeZoneNames &tznames); 670 /* TimeZoneNames object used by this formatter */ 671 TimeZoneNames* fTimeZoneNames; [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
tznames.cpp | 29 // TimeZoneNames object cache handling 48 TimeZoneNames* names; 100 class TimeZoneNamesDelegate : public TimeZoneNames { 105 virtual UBool operator==(const TimeZoneNames& other) const; 106 virtual UBool operator!=(const TimeZoneNames& other) const {return !operator==(other);}; 107 virtual TimeZoneNames* clone() const; 152 TimeZoneNames *tznames = NULL; 218 TimeZoneNamesDelegate::operator==(const TimeZoneNames& other) const { 231 TimeZoneNames* 281 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 | 774 TimeZoneNames::MatchInfoCollection* getMatches(int32_t& maxMatchLen); 779 TimeZoneNames::MatchInfoCollection* fResults; 807 fResults = new TimeZoneNames::MatchInfoCollection(); 830 TimeZoneNames::MatchInfoCollection* 833 TimeZoneNames::MatchInfoCollection* results = fResults; 845 // TimeZoneNames implementation class. This is the main 973 TimeZoneNamesImpl::operator==(const TimeZoneNames& other) const { 981 TimeZoneNames* [all...] |
tzgnames.cpp | 286 const TimeZoneNames* fTimeZoneNames; 320 TimeZoneNames::MatchInfoCollection* findTimeZoneNames(const UnicodeString& text, int32_t start, uint32_t types, UErrorCode& status) const; 327 // TimeZoneGenericNames is parallel to TimeZoneNames, 355 // TimeZoneNames 356 fTimeZoneNames = TimeZoneNames::createInstance(locale, status); 918 // Find matches in the TimeZoneNames first 919 TimeZoneNames::MatchInfoCollection *tznamesMatches = findTimeZoneNames(text, start, types, status); [all...] |
tzfmt.cpp | 335 fTimeZoneNames = TimeZoneNames::createInstance(locale, status); 508 const TimeZoneNames* 510 return (const TimeZoneNames*)fTimeZoneNames; 514 TimeZoneFormat::adoptTimeZoneNames(TimeZoneNames *tznames) { 522 TimeZoneFormat::setTimeZoneNames(const TimeZoneNames &tznames) { 934 LocalPointer<TimeZoneNames::MatchInfoCollection> specificMatches(fTimeZoneNames->find(text, startIdx, nameTypes, status)); [all...] |
timezone.cpp | [all...] |
dtfmtsym.cpp | [all...] |
/external/icu/icu4c/source/i18n/ |
tznames.cpp | 29 // TimeZoneNames object cache handling 48 TimeZoneNames* names; 100 class TimeZoneNamesDelegate : public TimeZoneNames { 105 virtual UBool operator==(const TimeZoneNames& other) const; 106 virtual UBool operator!=(const TimeZoneNames& other) const {return !operator==(other);}; 107 virtual TimeZoneNames* clone() const; 152 TimeZoneNames *tznames = NULL; 218 TimeZoneNamesDelegate::operator==(const TimeZoneNames& other) const { 231 TimeZoneNames* 281 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 | 774 TimeZoneNames::MatchInfoCollection* getMatches(int32_t& maxMatchLen); 779 TimeZoneNames::MatchInfoCollection* fResults; 807 fResults = new TimeZoneNames::MatchInfoCollection(); 830 TimeZoneNames::MatchInfoCollection* 833 TimeZoneNames::MatchInfoCollection* results = fResults; 845 // TimeZoneNames implementation class. This is the main 973 TimeZoneNamesImpl::operator==(const TimeZoneNames& other) const { 981 TimeZoneNames* [all...] |
tzgnames.cpp | 286 const TimeZoneNames* fTimeZoneNames; 320 TimeZoneNames::MatchInfoCollection* findTimeZoneNames(const UnicodeString& text, int32_t start, uint32_t types, UErrorCode& status) const; 327 // TimeZoneGenericNames is parallel to TimeZoneNames, 355 // TimeZoneNames 356 fTimeZoneNames = TimeZoneNames::createInstance(locale, status); 918 // Find matches in the TimeZoneNames first 919 TimeZoneNames::MatchInfoCollection *tznamesMatches = findTimeZoneNames(text, start, types, status); [all...] |
tzfmt.cpp | 335 fTimeZoneNames = TimeZoneNames::createInstance(locale, status); 508 const TimeZoneNames* 510 return (const TimeZoneNames*)fTimeZoneNames; 514 TimeZoneFormat::adoptTimeZoneNames(TimeZoneNames *tznames) { 522 TimeZoneFormat::setTimeZoneNames(const TimeZoneNames &tznames) { 934 LocalPointer<TimeZoneNames::MatchInfoCollection> specificMatches(fTimeZoneNames->find(text, startIdx, nameTypes, status)); [all...] |
timezone.cpp | [all...] |
/libcore/luni/src/main/native/ |
libcore_icu_TimeZoneNames.cpp | 17 #define LOG_TAG "TimeZoneNames" 70 UniquePtr<TimeZoneNames> names(TimeZoneNames::createInstance(icuLocale.locale(), status)); 71 if (maybeThrowIcuException(env, "TimeZoneNames::createInstance", status)) { 126 UniquePtr<TimeZoneNames> names(TimeZoneNames::createInstance(icuLocale.locale(), status)); 127 if (maybeThrowIcuException(env, "TimeZoneNames::createInstance", status)) { 143 NATIVE_METHOD(TimeZoneNames, fillZoneStrings, "(Ljava/lang/String;[[Ljava/lang/String;)V"), 144 NATIVE_METHOD(TimeZoneNames, getExemplarLocation, "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;"), 147 jniRegisterNativeMethods(env, "libcore/icu/TimeZoneNames", gMethods, NELEM(gMethods)) [all...] |
/libcore/luni/src/main/java/libcore/icu/ |
TimeZoneNames.java | 31 public final class TimeZoneNames { 108 private TimeZoneNames() {}
|
/libcore/luni/src/main/java/java/text/ |
DateFormatSymbols.java | 29 import libcore.icu.TimeZoneNames; 81 zoneStrings = TimeZoneNames.getZoneStrings(locale); 508 return TimeZoneNames.getDisplayName(zoneStrings, tz.getID(), daylight, style);
|
SimpleDateFormat.java | 33 import libcore.icu.TimeZoneNames; [all...] |
/libcore/luni/src/main/java/java/util/ |
TimeZone.java | 24 import libcore.icu.TimeZoneNames; 193 String[][] zoneStrings = TimeZoneNames.getZoneStrings(locale); 194 String result = TimeZoneNames.getDisplayName(zoneStrings, getID(), daylightTime, style); 205 // TODO: should we generate these once, in TimeZoneNames.getDisplayName? Revisit when we
|
/packages/apps/Settings/src/com/android/settings/ |
ZonePicker.java | 50 import libcore.icu.TimeZoneNames; 235 for (String olsonId : TimeZoneNames.forLocale(Locale.getDefault())) { 284 displayName = TimeZoneNames.getExemplarLocation(localeName, olsonId);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
MccTable.java | 38 import libcore.icu.TimeZoneNames; 93 String[] tz = TimeZoneNames.forLocale(locale);
|