Home
last modified time | relevance | path

Searched refs:localeData (Results 1 – 4 of 4) sorted by relevance

/libcore/luni/src/test/java/libcore/libcore/icu/
DLocaleDataTest.java149 LocaleData localeData = LocaleData.get(Locale.ROOT); in assertRootDataEqualsToTargetLocaleData() local
161 assertEquals(localeData.firstDayOfWeek, (Integer) icuCalendar.getFirstDayOfWeek()); in assertRootDataEqualsToTargetLocaleData()
162 assertEquals(localeData.minimalDaysInFirstWeek, in assertRootDataEqualsToTargetLocaleData()
165 assertArrayEquals(localeData.amPm, icuDateFormatSymbols.getAmPmStrings()); in assertRootDataEqualsToTargetLocaleData()
166 assertArrayEquals(localeData.eras, icuDateFormatSymbols.getEras()); in assertRootDataEqualsToTargetLocaleData()
167 assertArrayEquals(localeData.longMonthNames, icuDateFormatSymbols.getMonths( in assertRootDataEqualsToTargetLocaleData()
169 assertArrayEquals(localeData.tinyMonthNames, icuDateFormatSymbols.getMonths( in assertRootDataEqualsToTargetLocaleData()
171 assertArrayEquals(localeData.shortMonthNames, icuDateFormatSymbols.getMonths( in assertRootDataEqualsToTargetLocaleData()
173 assertArrayEquals(localeData.longStandAloneMonthNames, icuDateFormatSymbols.getMonths( in assertRootDataEqualsToTargetLocaleData()
175 assertArrayEquals(localeData.tinyStandAloneMonthNames, icuDateFormatSymbols.getMonths( in assertRootDataEqualsToTargetLocaleData()
[all …]
/libcore/luni/src/main/java/libcore/icu/
DLocaleData.java191 LocaleData localeData = localeDataCache.get(languageTag); in get() local
192 if (localeData != null) { in get()
193 return localeData; in get()
198 LocaleData localeData = localeDataCache.get(languageTag); in get() local
199 if (localeData != null) { in get()
200 return localeData; in get()
215 LocaleData localeData = new LocaleData(); in initLocaleData() local
217 localeData.initializeDateFormatData(locale); in initLocaleData()
218 localeData.initializeCalendarData(locale); in initLocaleData()
220 return localeData; in initLocaleData()
/libcore/ojluni/src/main/java/java/text/
DDateFormatSymbols.java866 LocaleData localeData = LocaleData.get(locale); in initializeData() local
869 eras = localeData.eras; in initializeData()
870 months = localeData.longMonthNames; in initializeData()
871 shortMonths = localeData.shortMonthNames; in initializeData()
872 ampms = localeData.amPm; in initializeData()
875 weekdays = localeData.longWeekdayNames; in initializeData()
876 shortWeekdays = localeData.shortWeekdayNames; in initializeData()
878 initializeSupplementaryData(localeData); in initializeData()
885 private void initializeSupplementaryData(LocaleData localeData) { in initializeSupplementaryData() argument
887 tinyMonths = localeData.tinyMonthNames; in initializeSupplementaryData()
[all …]
/libcore/ojluni/src/main/java/java/util/
DCalendar.java3467 LocaleData localeData = LocaleData.get(desiredLocale); in setWeekCountData() local
3468 data[0] = localeData.firstDayOfWeek.intValue(); in setWeekCountData()
3469 data[1] = localeData.minimalDaysInFirstWeek.intValue(); in setWeekCountData()