Searched refs:icuLocale (Results 1 – 3 of 3) sorted by relevance
/libcore/luni/src/main/native/ |
D | libcore_icu_ICU.cpp | 42 ScopedIcuULoc icuLocale(env, javaLocaleName); in ICU_getScript() local 43 if (!icuLocale.valid()) { in ICU_getScript() 48 int32_t capacity = std::max(ULOC_SCRIPT_CAPACITY, icuLocale.locale_length() + 1); in ICU_getScript() 51 uloc_getScript(icuLocale.locale(), buffer.get(), capacity, &status); in ICU_getScript() 59 ScopedIcuULoc icuLocale(env, javaLanguageTag); in ICU_getISO3Country() local 60 if (!icuLocale.valid()) { in ICU_getISO3Country() 63 return env->NewStringUTF(uloc_getISO3Country(icuLocale.locale())); in ICU_getISO3Country() 67 ScopedIcuULoc icuLocale(env, javaLanguageTag); in ICU_getISO3Language() local 68 if (!icuLocale.valid()) { in ICU_getISO3Language() 71 return env->NewStringUTF(uloc_getISO3Language(icuLocale.locale())); in ICU_getISO3Language()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | DateIntervalFormat.java | 47 ULocale icuLocale = ULocale.getDefault(); in formatDateRange() local 48 return formatDateRange(icuLocale, icuTimeZone, startMs, endMs, flags); in formatDateRange() 53 public static String formatDateRange(ULocale icuLocale, android.icu.util.TimeZone icuTimeZone, in formatDateRange() argument 55 Calendar startCalendar = DateUtilsBridge.createIcuCalendar(icuTimeZone, icuLocale, startMs); in formatDateRange() 60 endCalendar = DateUtilsBridge.createIcuCalendar(icuTimeZone, icuLocale, endMs); in formatDateRange() 85 android.icu.text.DateIntervalFormat.getInstance(skeleton, icuLocale); in formatDateRange()
|
D | DateUtilsBridge.java | 59 …kage */ static Calendar createIcuCalendar(android.icu.util.TimeZone icuTimeZone, ULocale icuLocale, in createIcuCalendar() argument 61 Calendar calendar = new GregorianCalendar(icuTimeZone, icuLocale); in createIcuCalendar()
|