Home
last modified time | relevance | path

Searched refs:uLocale (Results 1 – 15 of 15) sorted by relevance

/third_party/libphonenumber/cpp/src/phonenumbers/geocoding/
Dgeocoding_warpper.cc26 icu::Locale uLocale = icu::Locale::createFromName(locale); in exposeLocationName() local
29 PhoneNumberUtil::ErrorType type = util->Parse(number, uLocale.getCountry(), &phoneNumber); in exposeLocationName()
34 std::string result = offlineGeocoder->GetDescriptionForNumber(phoneNumber, uLocale); in exposeLocationName()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateTimePatternGenerator.java96 public static DateTimePatternGenerator getInstance(ULocale uLocale) { in getInstance() argument
97 return getFrozenInstance(uLocale).cloneAsThawed(); in getInstance()
120 public static DateTimePatternGenerator getFrozenInstance(ULocale uLocale) { in getFrozenInstance() argument
121 String localeKey = uLocale.toString(); in getFrozenInstance()
128 result.initData(uLocale, false); in getFrozenInstance()
146 public static DateTimePatternGenerator getInstanceNoStdPat(ULocale uLocale) { in getInstanceNoStdPat() argument
148 result.initData(uLocale, true); in getInstanceNoStdPat()
152 private void initData(ULocale uLocale, boolean skipStdPatterns) { in initData() argument
160 addICUPatterns(returnInfo, uLocale); in initData()
162 addCLDRData(returnInfo, uLocale); in initData()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DDateTimePatternGenerator.java92 public static DateTimePatternGenerator getInstance(ULocale uLocale) { in getInstance() argument
93 return getFrozenInstance(uLocale).cloneAsThawed(); in getInstance()
116 public static DateTimePatternGenerator getFrozenInstance(ULocale uLocale) { in getFrozenInstance() argument
117 String localeKey = uLocale.toString(); in getFrozenInstance()
124 result.initData(uLocale); in getFrozenInstance()
132 private void initData(ULocale uLocale) { in initData() argument
139 addICUPatterns(returnInfo, uLocale); in initData()
140 addCLDRData(returnInfo, uLocale); in initData()
141 setDateTimeFromCalendar(uLocale); in initData()
142 setDecimalSymbols(uLocale); in initData()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DDateTimeGeneratorTest.java321 ULocale uLocale = null; in TestBasic() local
326 uLocale = (ULocale) dateTestData[i]; in TestBasic()
327 dtfg = DateTimePatternGenerator.getInstance(uLocale); in TestBasic()
328 if (GENERATE_TEST_DATA) logln("new ULocale(\"" + uLocale.toString() + "\"),"); in TestBasic()
335 SimpleDateFormat sdf = new SimpleDateFormat(pattern, uLocale); in TestBasic()
344 SimpleDateFormat sdf = new SimpleDateFormat(pattern, uLocale); in TestBasic()
349 …errln(uLocale + "\tformatted string doesn't match test case: " + testSkeleton + "\t generated: " +… in TestBasic()
352 sdf = new SimpleDateFormat(pattern, uLocale); in TestBasic()
714 private void checkCompatible(int style1, int style2, ULocale uLocale) { in checkCompatible() argument
715 DateOrder order1 = getOrdering(style1, uLocale); in checkCompatible()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateTimeGeneratorTest.java318 ULocale uLocale = null; in TestBasic() local
323 uLocale = (ULocale) dateTestData[i]; in TestBasic()
324 dtfg = DateTimePatternGenerator.getInstance(uLocale); in TestBasic()
325 if (GENERATE_TEST_DATA) logln("new ULocale(\"" + uLocale.toString() + "\"),"); in TestBasic()
332 SimpleDateFormat sdf = new SimpleDateFormat(pattern, uLocale); in TestBasic()
341 SimpleDateFormat sdf = new SimpleDateFormat(pattern, uLocale); in TestBasic()
346 …errln(uLocale + "\tformatted string doesn't match test case: " + testSkeleton + "\t generated: " +… in TestBasic()
349 sdf = new SimpleDateFormat(pattern, uLocale); in TestBasic()
711 private void checkCompatible(int style1, int style2, ULocale uLocale) { in checkCompatible() argument
712 DateOrder order1 = getOrdering(style1, uLocale); in checkCompatible()
[all …]
/third_party/icu/icu4c/source/i18n/unicode/
Ddtptngen.h75 …static DateTimePatternGenerator* U_EXPORT2 createInstance(const Locale& uLocale, UErrorCode& statu…
84 …static DateTimePatternGenerator* U_EXPORT2 createInstanceNoStdPat(const Locale& uLocale, UErrorCod…
91 …static DateTimePatternGenerator* U_EXPORT2 internalMakeInstance(const Locale& uLocale, UErrorCode&…
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Ddtptngen.h75 …static DateTimePatternGenerator* U_EXPORT2 createInstance(const Locale& uLocale, UErrorCode& statu…
84 …static DateTimePatternGenerator* U_EXPORT2 createInstanceNoStdPat(const Locale& uLocale, UErrorCod…
91 …static DateTimePatternGenerator* U_EXPORT2 internalMakeInstance(const Locale& uLocale, UErrorCode&…
/third_party/node/deps/icu-small/source/i18n/unicode/
Ddtptngen.h75 …static DateTimePatternGenerator* U_EXPORT2 createInstance(const Locale& uLocale, UErrorCode& statu…
84 …static DateTimePatternGenerator* U_EXPORT2 createInstanceNoStdPat(const Locale& uLocale, UErrorCod…
91 …static DateTimePatternGenerator* U_EXPORT2 internalMakeInstance(const Locale& uLocale, UErrorCode&…
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DGenderInfo.java71 public static GenderInfo getInstance(ULocale uLocale) { in getInstance() argument
72 return genderInfoCache.get(uLocale); in getInstance()
DGlobalizationPreferences.java232 public GlobalizationPreferences setLocale(ULocale uLocale) { in setLocale() argument
236 return setLocales(new ULocale[]{uLocale}); in setLocale()
DCalendar.java3532 public static String getDateTimePattern(Calendar cal, ULocale uLocale, int dateStyle) { in getDateTimePattern() argument
3533 PatternData patternData = PatternData.make(cal, uLocale); in getDateTimePattern()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DGenderInfo.java68 public static GenderInfo getInstance(ULocale uLocale) { in getInstance() argument
69 return genderInfoCache.get(uLocale); in getInstance()
DCalendar.java3677 public static String getDateTimePattern(Calendar cal, ULocale uLocale, int dateStyle) { in getDateTimePattern() argument
3678 PatternData patternData = PatternData.make(cal, uLocale); in getDateTimePattern()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Ddtptngen.h71 …static DateTimePatternGenerator* U_EXPORT2 createInstance(const Locale& uLocale, UErrorCode& statu…
80 …static DateTimePatternGenerator* U_EXPORT2 internalMakeInstance(const Locale& uLocale, UErrorCode&…
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/
DGlobalizationPreferences.java230 public GlobalizationPreferences setLocale(ULocale uLocale) { in setLocale() argument
234 return setLocales(new ULocale[]{uLocale}); in setLocale()