Home
last modified time | relevance | path

Searched refs:calLocale (Results 1 – 21 of 21) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DIndianTest.java208 Locale calLocale = LocaleUtility.getLocaleFromName(calLocName); in TestCoverage() local
209 IndianCalendar cal = new IndianCalendar(calLocale); in TestCoverage()
DEthiopicTest.java417 Locale calLocale = LocaleUtility.getLocaleFromName(calLocName); in TestCoverage() local
418 cal = new EthiopicCalendar(calLocale); in TestCoverage()
DCopticTest.java335 Locale calLocale = LocaleUtility.getLocaleFromName(calLocName); in TestCoverage() local
336 cal = new CopticCalendar(calLocale); in TestCoverage()
DHebrewTest.java463 Locale calLocale = LocaleUtility.getLocaleFromName(calLocName); in TestCoverage() local
464 cal = new HebrewCalendar(calLocale); in TestCoverage()
DJapaneseTest.java141 Locale calLocale = LocaleUtility.getLocaleFromName(calLocName); in TestCoverage() local
142 cal = new JapaneseCalendar(calLocale); in TestCoverage()
DIslamicTest.java306 Locale calLocale = LocaleUtility.getLocaleFromName(calLocName); in TestCoverage() local
307 cal = new IslamicCalendar(calLocale); in TestCoverage()
DIBMCalendarTest.java305 Locale calLocale = LocaleUtility.getLocaleFromName(calLocName); in TestBuddhistCoverage() local
306 cal = new BuddhistCalendar(calLocale); in TestBuddhistCoverage()
458 Locale calLocale = LocaleUtility.getLocaleFromName(calLocName); in TestTaiwanCoverage() local
459 cal = new TaiwanCalendar(calLocale); in TestTaiwanCoverage()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DIndianTest.java205 Locale calLocale = LocaleUtility.getLocaleFromName(calLocName); in TestCoverage() local
206 IndianCalendar cal = new IndianCalendar(calLocale); in TestCoverage()
DEthiopicTest.java414 Locale calLocale = LocaleUtility.getLocaleFromName(calLocName); in TestCoverage() local
415 cal = new EthiopicCalendar(calLocale); in TestCoverage()
DCopticTest.java332 Locale calLocale = LocaleUtility.getLocaleFromName(calLocName); in TestCoverage() local
333 cal = new CopticCalendar(calLocale); in TestCoverage()
DHebrewTest.java460 Locale calLocale = LocaleUtility.getLocaleFromName(calLocName); in TestCoverage() local
461 cal = new HebrewCalendar(calLocale); in TestCoverage()
DJapaneseTest.java138 Locale calLocale = LocaleUtility.getLocaleFromName(calLocName); in TestCoverage() local
139 cal = new JapaneseCalendar(calLocale); in TestCoverage()
DIslamicTest.java303 Locale calLocale = LocaleUtility.getLocaleFromName(calLocName); in TestCoverage() local
304 cal = new IslamicCalendar(calLocale); in TestCoverage()
DIBMCalendarTest.java302 Locale calLocale = LocaleUtility.getLocaleFromName(calLocName); in TestBuddhistCoverage() local
303 cal = new BuddhistCalendar(calLocale); in TestBuddhistCoverage()
455 Locale calLocale = LocaleUtility.getLocaleFromName(calLocName); in TestTaiwanCoverage() local
456 cal = new TaiwanCalendar(calLocale); in TestTaiwanCoverage()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/
DGlobalizationPreferences.java1156 ULocale calLocale = getAvailableLocale(TYPE_CALENDAR); in guessCalendar() local
1157 if (calLocale == null) { in guessCalendar()
1158 calLocale = ULocale.US; in guessCalendar()
1160 return Calendar.getInstance(getTimeZone(), calLocale); in guessCalendar()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DGlobalizationPreferences.java1116 ULocale calLocale = getAvailableLocale(TYPE_CALENDAR); in guessCalendar() local
1117 if (calLocale == null) { in guessCalendar()
1118 calLocale = ULocale.US; in guessCalendar()
1120 return Calendar.getInstance(getTimeZone(), calLocale); in guessCalendar()
DCalendar.java1547 ULocale calLocale = locale; in setCalendarLocale() local
1570 calLocale = new ULocale(buf.toString()); in setCalendarLocale()
1573 setLocale(calLocale, calLocale); in setCalendarLocale()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java75 ULocale calLocale = cal.getLocale(ULocale.VALID_LOCALE); in TestDefault() local
76 logln("Calendar locale: " + calLocale.toString()); in TestDefault()
77 if (!calLocale.equals(defLocale)) { in TestDefault()
646 ULocale calLocale = cal.getLocale(ULocale.VALID_LOCALE); in TestCalendar() local
647 if (!calLocale.equals(locales[2])) { in TestCalendar()
648 errln("FAIL: Calendar locale is " + calLocale.toString() + " - Expected: en_GB"); in TestCalendar()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DGlobalizationPreferencesTest.java78 ULocale calLocale = cal.getLocale(ULocale.VALID_LOCALE); in TestDefault() local
79 logln("Calendar locale: " + calLocale.toString()); in TestDefault()
80 if (!calLocale.equals(defLocale)) { in TestDefault()
649 ULocale calLocale = cal.getLocale(ULocale.VALID_LOCALE); in TestCalendar() local
650 if (!calLocale.equals(locales[2])) { in TestCalendar()
651 errln("FAIL: Calendar locale is " + calLocale.toString() + " - Expected: en_GB"); in TestCalendar()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCalendar.java1612 ULocale calLocale = locale; in setCalendarLocale() local
1635 calLocale = new ULocale(buf.toString()); in setCalendarLocale()
1638 setLocale(calLocale, calLocale); in setCalendarLocale()
/external/icu/icu4c/source/i18n/
Dsmpdtfmt.cpp4067 Locale calLocale(fLocale); in adoptCalendar() local
4068 calLocale.setKeywordValue("calendar", calendarToAdopt->getType(), status); in adoptCalendar()
4070 DateFormatSymbols::createForLocale(calLocale, status); in adoptCalendar()