Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/util/
DGlobalizationPreferences.java1119 ULocale calLocale = getAvailableLocale(TYPE_CALENDAR); in guessCalendar() local
1120 if (calLocale == null) { in guessCalendar()
1121 calLocale = ULocale.US; in guessCalendar()
1123 return Calendar.getInstance(getTimeZone(), calLocale); in guessCalendar()
DCalendar.java1546 ULocale calLocale = locale; in setCalendarLocale() local
1569 calLocale = new ULocale(buf.toString()); in setCalendarLocale()
1572 setLocale(calLocale, calLocale); in setCalendarLocale()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/
DGlobalizationPreferences.java1159 ULocale calLocale = getAvailableLocale(TYPE_CALENDAR); in guessCalendar() local
1160 if (calLocale == null) { in guessCalendar()
1161 calLocale = ULocale.US; in guessCalendar()
1163 return Calendar.getInstance(getTimeZone(), calLocale); in guessCalendar()
/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.java137 Locale calLocale = LocaleUtility.getLocaleFromName(calLocName); in TestCoverage() local
138 cal = new JapaneseCalendar(calLocale); in TestCoverage()
DIslamicTest.java303 Locale calLocale = LocaleUtility.getLocaleFromName(calLocName); in TestCoverage() local
304 cal = new IslamicCalendar(calLocale); in TestCoverage()
DIBMCalendarTest.java299 Locale calLocale = LocaleUtility.getLocaleFromName(calLocName); in TestBuddhistCoverage() local
300 cal = new BuddhistCalendar(calLocale); in TestBuddhistCoverage()
452 Locale calLocale = LocaleUtility.getLocaleFromName(calLocName); in TestTaiwanCoverage() local
453 cal = new TaiwanCalendar(calLocale); in TestTaiwanCoverage()
/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.java140 Locale calLocale = LocaleUtility.getLocaleFromName(calLocName); in TestCoverage() local
141 cal = new JapaneseCalendar(calLocale); in TestCoverage()
DIslamicTest.java306 Locale calLocale = LocaleUtility.getLocaleFromName(calLocName); in TestCoverage() local
307 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/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()
636 ULocale calLocale = cal.getLocale(ULocale.VALID_LOCALE); in TestCalendar() local
637 if (!calLocale.equals(locales[2])) { in TestCalendar()
638 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()
639 ULocale calLocale = cal.getLocale(ULocale.VALID_LOCALE); in TestCalendar() local
640 if (!calLocale.equals(locales[2])) { in TestCalendar()
641 errln("FAIL: Calendar locale is " + calLocale.toString() + " - Expected: en_GB"); in TestCalendar()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCalendar.java1611 ULocale calLocale = locale; in setCalendarLocale() local
1634 calLocale = new ULocale(buf.toString()); in setCalendarLocale()
1637 setLocale(calLocale, calLocale); in setCalendarLocale()
/external/icu/icu4c/source/i18n/
Dsmpdtfmt.cpp3947 Locale calLocale(fLocale); in adoptCalendar() local
3948 calLocale.setKeywordValue("calendar", calendarToAdopt->getType(), status); in adoptCalendar()
3950 DateFormatSymbols::createForLocale(calLocale, status); in adoptCalendar()