Home
last modified time | relevance | path

Searched refs:dfLocale (Results 1 – 2 of 2) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/util/
DGlobalizationPreferences.java917 ULocale dfLocale = getAvailableLocale(TYPE_DATEFORMAT); in guessDateFormat() local
918 if (dfLocale == null) { in guessDateFormat()
919 dfLocale = ULocale.ROOT; in guessDateFormat()
922 result = DateFormat.getDateInstance(getCalendar(), dateStyle, dfLocale); in guessDateFormat()
924 result = DateFormat.getTimeInstance(getCalendar(), timeStyle, dfLocale); in guessDateFormat()
926 result = DateFormat.getDateTimeInstance(getCalendar(), dateStyle, timeStyle, dfLocale); in guessDateFormat()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/
DGlobalizationPreferences.java949 ULocale dfLocale = getAvailableLocale(TYPE_DATEFORMAT); in guessDateFormat() local
950 if (dfLocale == null) { in guessDateFormat()
951 dfLocale = ULocale.ROOT; in guessDateFormat()
954 result = DateFormat.getDateInstance(getCalendar(), dateStyle, dfLocale); in guessDateFormat()
956 result = DateFormat.getTimeInstance(getCalendar(), timeStyle, dfLocale); in guessDateFormat()
958 result = DateFormat.getDateTimeInstance(getCalendar(), dateStyle, timeStyle, dfLocale); in guessDateFormat()