Home
last modified time | relevance | path

Searched refs:getDisplayName (Results 1 – 25 of 245) sorted by relevance

12345678910

/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/util/
DTimeZoneNameProviderICU.java21 public String getDisplayName(String ID, boolean daylight, int style, Locale locale) { in getDisplayName() method in TimeZoneNameProviderICU
32 String lstd = tznames.getDisplayName(canonicalID, NameType.LONG_STANDARD, date); in getDisplayName()
33 String ldst = tznames.getDisplayName(canonicalID, NameType.LONG_DAYLIGHT, date); in getDisplayName()
34 String sstd = tznames.getDisplayName(canonicalID, NameType.SHORT_STANDARD, date); in getDisplayName()
35 String sdst = tznames.getDisplayName(canonicalID, NameType.SHORT_DAYLIGHT, date); in getDisplayName()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DHoliday.java146 public String getDisplayName() { in getDisplayName() method in Holiday
147 return getDisplayName(ULocale.getDefault(Category.DISPLAY)); in getDisplayName()
161 public String getDisplayName(Locale locale) in getDisplayName() method in Holiday
163 return getDisplayName(ULocale.forLocale(locale)); in getDisplayName()
177 public String getDisplayName(ULocale locale) in getDisplayName() method in Holiday
DTimeZone.java399 public final String getDisplayName() { in getDisplayName() method in TimeZone
413 public final String getDisplayName(Locale locale) { in getDisplayName() method in TimeZone
427 public final String getDisplayName(ULocale locale) { in getDisplayName() method in TimeZone
445 public final String getDisplayName(boolean daylight, int style) { in getDisplayName() method in TimeZone
446 return getDisplayName(daylight, style, ULocale.getDefault(Category.DISPLAY)); in getDisplayName()
465 public String getDisplayName(boolean daylight, int style, Locale locale) { in getDisplayName() method in TimeZone
466 return getDisplayName(daylight, style, ULocale.forLocale(locale)); in getDisplayName()
485 public String getDisplayName(boolean daylight, int style, ULocale locale) { in getDisplayName() method in TimeZone
562 result = tznames.getDisplayName(ZoneMeta.getCanonicalCLDRID(this), nameType, date); in _getDisplayName()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DHoliday.java144 public String getDisplayName() { in getDisplayName() method in Holiday
145 return getDisplayName(ULocale.getDefault(Category.DISPLAY)); in getDisplayName()
159 public String getDisplayName(Locale locale) in getDisplayName() method in Holiday
161 return getDisplayName(ULocale.forLocale(locale)); in getDisplayName()
175 public String getDisplayName(ULocale locale) in getDisplayName() method in Holiday
DTimeZone.java429 public final String getDisplayName() { in getDisplayName() method in TimeZone
444 public final String getDisplayName(Locale locale) { in getDisplayName() method in TimeZone
459 public final String getDisplayName(ULocale locale) { in getDisplayName() method in TimeZone
478 public final String getDisplayName(boolean daylight, int style) { in getDisplayName() method in TimeZone
479 return getDisplayName(daylight, style, ULocale.getDefault(Category.DISPLAY)); in getDisplayName()
499 public String getDisplayName(boolean daylight, int style, Locale locale) { in getDisplayName() method in TimeZone
500 return getDisplayName(daylight, style, ULocale.forLocale(locale)); in getDisplayName()
520 public String getDisplayName(boolean daylight, int style, ULocale locale) { in getDisplayName() method in TimeZone
597 result = tznames.getDisplayName(ZoneMeta.getCanonicalCLDRID(this), nameType, date); in _getDisplayName()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DGlobalizationPreferencesTest.java1022 String name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_LOCALE); in TestDisplayName()
1024 String name2 = gp.getDisplayName(id, GlobalizationPreferences.ID_LOCALE); in TestDisplayName()
1026 String name3 = gp.getDisplayName(id, GlobalizationPreferences.ID_LOCALE); in TestDisplayName()
1036 name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_LANGUAGE); in TestDisplayName()
1038 name2 = gp.getDisplayName(id, GlobalizationPreferences.ID_LANGUAGE); in TestDisplayName()
1040 name3 = gp.getDisplayName(id, GlobalizationPreferences.ID_LANGUAGE); in TestDisplayName()
1050 name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_SCRIPT); in TestDisplayName()
1052 name2 = gp.getDisplayName(id, GlobalizationPreferences.ID_SCRIPT); in TestDisplayName()
1054 name3 = gp.getDisplayName(id, GlobalizationPreferences.ID_SCRIPT); in TestDisplayName()
1064 name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_TERRITORY); in TestDisplayName()
[all …]
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java1019 String name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_LOCALE); in TestDisplayName()
1021 String name2 = gp.getDisplayName(id, GlobalizationPreferences.ID_LOCALE); in TestDisplayName()
1023 String name3 = gp.getDisplayName(id, GlobalizationPreferences.ID_LOCALE); in TestDisplayName()
1033 name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_LANGUAGE); in TestDisplayName()
1035 name2 = gp.getDisplayName(id, GlobalizationPreferences.ID_LANGUAGE); in TestDisplayName()
1037 name3 = gp.getDisplayName(id, GlobalizationPreferences.ID_LANGUAGE); in TestDisplayName()
1047 name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_SCRIPT); in TestDisplayName()
1049 name2 = gp.getDisplayName(id, GlobalizationPreferences.ID_SCRIPT); in TestDisplayName()
1051 name3 = gp.getDisplayName(id, GlobalizationPreferences.ID_SCRIPT); in TestDisplayName()
1061 name1 = gp.getDisplayName(id, GlobalizationPreferences.ID_TERRITORY); in TestDisplayName()
[all …]
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollator.java550 public String getDisplayName(Locale objectLocale, Locale displayLocale) { in getDisplayName() method in Collator.CollatorFactory
551 … return getDisplayName(ULocale.forLocale(objectLocale), ULocale.forLocale(displayLocale)); in getDisplayName()
562 public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() method in Collator.CollatorFactory
567 return objectLocale.getDisplayName(displayLocale); in getDisplayName()
597 abstract String getDisplayName(ULocale ol, ULocale dl); in getDisplayName() method in Collator.ServiceShim
1102 static public String getDisplayName(Locale objectLocale, Locale displayLocale) { in getDisplayName() method in Collator
1103 return getShim().getDisplayName(ULocale.forLocale(objectLocale), in getDisplayName()
1115 static public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() method in Collator
1116 return getShim().getDisplayName(objectLocale, displayLocale); in getDisplayName()
1127 static public String getDisplayName(Locale objectLocale) { in getDisplayName() method in Collator
[all …]
DCollatorServiceShim.java81 public String getDisplayName(String id, ULocale displayLocale) { in registerFactory() method in CollatorServiceShim.CFactory
83 return delegate.getDisplayName(objectLocale, displayLocale); in registerFactory()
126 String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() method in CollatorServiceShim
128 return service.getDisplayName(id, displayLocale); in getDisplayName()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DCollator.java523 public String getDisplayName(Locale objectLocale, Locale displayLocale) { in getDisplayName() method in Collator.CollatorFactory
524 … return getDisplayName(ULocale.forLocale(objectLocale), ULocale.forLocale(displayLocale)); in getDisplayName()
534 public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() method in Collator.CollatorFactory
539 return objectLocale.getDisplayName(displayLocale); in getDisplayName()
567 abstract String getDisplayName(ULocale ol, ULocale dl); in getDisplayName() method in Collator.ServiceShim
1060 static public String getDisplayName(Locale objectLocale, Locale displayLocale) { in getDisplayName() method in Collator
1061 return getShim().getDisplayName(ULocale.forLocale(objectLocale), in getDisplayName()
1072 static public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() method in Collator
1073 return getShim().getDisplayName(objectLocale, displayLocale); in getDisplayName()
1083 static public String getDisplayName(Locale objectLocale) { in getDisplayName() method in Collator
[all …]
DCollatorServiceShim.java82 public String getDisplayName(String id, ULocale displayLocale) { in registerFactory() method in CollatorServiceShim.CFactory
84 return delegate.getDisplayName(objectLocale, displayLocale); in registerFactory()
127 String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() method in CollatorServiceShim
129 return service.getDisplayName(id, displayLocale); in getDisplayName()
/third_party/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DTimeZoneNameTest.java107 tznames.getDisplayName(canonicalID, NameType.LONG_DAYLIGHT, date) : in getIcuDisplayName()
108 tznames.getDisplayName(canonicalID, NameType.LONG_STANDARD, date); in getIcuDisplayName()
112 tznames.getDisplayName(canonicalID, NameType.SHORT_DAYLIGHT, date) : in getIcuDisplayName()
113 tznames.getDisplayName(canonicalID, NameType.SHORT_STANDARD, date); in getIcuDisplayName()
123 String name = tz.getDisplayName(daylight, style, loc); in checkDisplayName()
147 name = tz.getDisplayName(daylight, style, icuLoc); in checkDisplayName()
174 String uLocaleName = uLocaleInstance.getDisplayName(availableId, nameType, date); in testGetInstance_Locale()
175 String localeName = localeInstance.getDisplayName(availableId, nameType, date); in testGetInstance_Locale()
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationServiceTest.java83 String name = Collator.getDisplayName(fu_FU); in TestRegister()
92 String name = Collator.getDisplayName(fu_FU, fu_FU); in TestRegister()
142 String getDisplayName(ULocale displayLocale) { in TestRegisterFactory() method in CollationServiceTest.CollatorInfo
148 name = locale.getDisplayName(displayLocale); in TestRegisterFactory()
176 public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in TestRegisterFactory() method in CollationServiceTest.TestFactory
179 return ci.getDisplayName(displayLocale); in TestRegisterFactory()
251 name = Collator.getDisplayName(fu_FU, fu_FU_FOO); in TestRegisterFactory()
296 String name = Collator.getDisplayName(fu_FU); in TestRegisterFactory()
301 name = Collator.getDisplayName(fu_FU, fu_FU_FOO); in TestRegisterFactory()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
DCollationServiceTest.java86 String name = Collator.getDisplayName(fu_FU); in TestRegister()
95 String name = Collator.getDisplayName(fu_FU, fu_FU); in TestRegister()
145 String getDisplayName(ULocale displayLocale) { in TestRegisterFactory() method in CollationServiceTest.CollatorInfo
151 name = locale.getDisplayName(displayLocale); in TestRegisterFactory()
179 public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in TestRegisterFactory() method in CollationServiceTest.TestFactory
182 return ci.getDisplayName(displayLocale); in TestRegisterFactory()
254 name = Collator.getDisplayName(fu_FU, fu_FU_FOO); in TestRegisterFactory()
299 String name = Collator.getDisplayName(fu_FU); in TestRegisterFactory()
304 name = Collator.getDisplayName(fu_FU, fu_FU_FOO); in TestRegisterFactory()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DICUServiceTest.java217 public String getDisplayName(String id, ULocale l) { in TestAPI()
282 confirmIdentical("27) get display name", service.getDisplayName("en_US_VALLEY_GEEK"), null); in TestAPI()
285 String name = service.getDisplayName("en_US_SURFER_DUDE", ULocale.US); in TestAPI()
320 String displayName = service.getDisplayName(actualID[0], ULocale.US); in TestAPI()
324 displayName = service.getDisplayName(id, ULocale.US); in TestAPI()
338 String displayName = service.getDisplayName(actualID[0], ULocale.US); in TestAPI()
342 displayName = service.getDisplayName(id, ULocale.US); in TestAPI()
649 public String getDisplayName(String id, ULocale locale) { in getDisplayName() method in ICUServiceTest.CalifornioLanguageFactory
675 suffix = super.getDisplayName(id, locale); in getDisplayName()
828 public String getDisplayName(String id, ULocale locale) { in TestWrapFactory() method in ICUServiceTest.WrapFactory
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUServiceTest.java214 public String getDisplayName(String id, ULocale l) { in TestAPI()
279 confirmIdentical("27) get display name", service.getDisplayName("en_US_VALLEY_GEEK"), null); in TestAPI()
282 String name = service.getDisplayName("en_US_SURFER_DUDE", ULocale.US); in TestAPI()
317 String displayName = service.getDisplayName(actualID[0], ULocale.US); in TestAPI()
321 displayName = service.getDisplayName(id, ULocale.US); in TestAPI()
335 String displayName = service.getDisplayName(actualID[0], ULocale.US); in TestAPI()
339 displayName = service.getDisplayName(id, ULocale.US); in TestAPI()
646 public String getDisplayName(String id, ULocale locale) { in getDisplayName() method in ICUServiceTest.CalifornioLanguageFactory
672 suffix = super.getDisplayName(id, locale); in getDisplayName()
825 public String getDisplayName(String id, ULocale locale) { in TestWrapFactory() method in ICUServiceTest.WrapFactory
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
DHolidayTest.java104 logln("holiday: " + h.getDisplayName()); in exerciseHoliday()
105 logln("holiday in " + locale + ": " + h.getDisplayName(locale)); in exerciseHoliday()
120 errln("Error: "+h.getDisplayName()+".firstBetween("+first+", "+now+")="+second); in exerciseHoliday()
193 errln("Patience exceeded for " + h.getDisplayName() +" at " + d); in exerciseHoliday()
197 … errln("Error: for " + h.getDisplayName()+": " + d +" is after end of month " + endOfMonth); in exerciseHoliday()
347 if ("Christmas".equals(h.getDisplayName(ULocale.US))) { in TestDisplayName()
348 if ("Christmas".equals(h.getDisplayName(ULocale.GERMANY))) { in TestDisplayName()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DHolidayTest.java101 logln("holiday: " + h.getDisplayName()); in exerciseHoliday()
102 logln("holiday in " + locale + ": " + h.getDisplayName(locale)); in exerciseHoliday()
117 errln("Error: "+h.getDisplayName()+".firstBetween("+first+", "+now+")="+second); in exerciseHoliday()
190 errln("Patience exceeded for " + h.getDisplayName() +" at " + d); in exerciseHoliday()
194 … errln("Error: for " + h.getDisplayName()+": " + d +" is after end of month " + endOfMonth); in exerciseHoliday()
344 if ("Christmas".equals(h.getDisplayName(ULocale.US))) { in TestDisplayName()
345 if ("Christmas".equals(h.getDisplayName(ULocale.GERMANY))) { in TestDisplayName()
/third_party/icu/icu4c/source/test/intltest/
Dsvccoll.cpp156 Collator::getDisplayName(fu_FU, displayName); in TestRegister()
167 Collator::getDisplayName(fu_FU, fu_FU, displayName); in TestRegister()
225 UnicodeString& getDisplayName(const Locale& displayLocale, UnicodeString& name) const;
242 CollatorInfo::getDisplayName(const Locale& displayLocale, UnicodeString& name) const { in getDisplayName() function in CollatorInfo
251 return locale.getDisplayName(displayLocale, name); in getDisplayName()
297 virtual UnicodeString& getDisplayName(const Locale& objectLocale, in getDisplayName() function in TestFactory
303 ci->getDisplayName(displayLocale, result); in getDisplayName()
449 Collator::getDisplayName(fu_FU, name); in TestRegisterFactory()
454 Collator::getDisplayName(fu_FU, fu_FU_FOO, name); in TestRegisterFactory()
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dtimezone.h655 UnicodeString& getDisplayName(UnicodeString& result) const;
670 UnicodeString& getDisplayName(const Locale& locale, UnicodeString& result) const;
684 … UnicodeString& getDisplayName(UBool inDaylight, EDisplayType style, UnicodeString& result) const;
700 …UnicodeString& getDisplayName(UBool inDaylight, EDisplayType style, const Locale& locale, UnicodeS…
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DTimeZoneJDK.java68 public String getDisplayName(boolean daylight, int style, Locale locale) { in getDisplayName() method in TimeZoneJDK
69 return fJdkTz.getDisplayName(daylight, style, locale); in getDisplayName()
73 public String getDisplayName(boolean daylight, int style, ULocale locale) { in getDisplayName() method in TimeZoneJDK
74 return fJdkTz.getDisplayName(daylight, style, locale.toLocale()); in getDisplayName()
/third_party/icu/icu4c/source/i18n/unicode/
Dtimezone.h655 UnicodeString& getDisplayName(UnicodeString& result) const;
670 UnicodeString& getDisplayName(const Locale& locale, UnicodeString& result) const;
684 … UnicodeString& getDisplayName(UBool inDaylight, EDisplayType style, UnicodeString& result) const;
700 …UnicodeString& getDisplayName(UBool inDaylight, EDisplayType style, const Locale& locale, UnicodeS…
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Dtimezone.h637 UnicodeString& getDisplayName(UnicodeString& result) const;
652 UnicodeString& getDisplayName(const Locale& locale, UnicodeString& result) const;
666 UnicodeString& getDisplayName(UBool daylight, EDisplayType style, UnicodeString& result) const;
682 …UnicodeString& getDisplayName(UBool daylight, EDisplayType style, const Locale& locale, UnicodeStr…
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DICUService.java261 public String getDisplayName(String id, ULocale locale); in getDisplayName() method
332 public String getDisplayName(String identifier, ULocale locale) { in getDisplayName() method in ICUService.SimpleFactory
614 public String getDisplayName(String id) { in getDisplayName() method in ICUService
615 return getDisplayName(id, ULocale.getDefault(Category.DISPLAY)); in getDisplayName()
623 public String getDisplayName(String id, ULocale locale) { in getDisplayName() method in ICUService
627 return f.getDisplayName(id, locale); in getDisplayName()
634 return f.getDisplayName(id, locale); in getDisplayName()
704 dncache.put(f.getDisplayName(id, locale), id); in getDisplayNames()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUService.java257 public String getDisplayName(String id, ULocale locale); in getDisplayName() method
327 public String getDisplayName(String identifier, ULocale locale) { in getDisplayName() method in ICUService.SimpleFactory
609 public String getDisplayName(String id) { in getDisplayName() method in ICUService
610 return getDisplayName(id, ULocale.getDefault(Category.DISPLAY)); in getDisplayName()
618 public String getDisplayName(String id, ULocale locale) { in getDisplayName() method in ICUService
622 return f.getDisplayName(id, locale); in getDisplayName()
629 return f.getDisplayName(id, locale); in getDisplayName()
699 dncache.put(f.getDisplayName(id, locale), id); in getDisplayNames()

12345678910