Lines Matching refs:locale

186             Locale locale = context.getResources().getConfiguration().locale;
189 if (sIs24HourLocale != null && sIs24HourLocale.equals(locale)) {
195 java.text.DateFormat.getTimeInstance(java.text.DateFormat.LONG, locale);
211 sIs24HourLocale = locale;
223 * locale. A skeleton is similar to, and uses the same format characters as, a Unicode
228 * "MMMM d" in the {@code en_US} locale, but "d. MMMM" in the {@code de_CH} locale.
235 * same "MMMMd" input, this method will return "d LLLL" in the {@code fa_IR} locale,
237 * so "Md" would give a different result to "MMMd", say, except in a locale such as
242 * code specific to any one locale.
244 * @param locale the locale into which the skeleton should be localized
248 public static String getBestDateTimePattern(Locale locale, String skeleton) {
249 return ICU.getBestDateTimePattern(skeleton, locale);
254 * to the current locale and the user's 12-/24-hour clock preference.
264 * to the current locale and the user's 12-/24-hour clock preference.
274 * to the current locale and the user's 12-/24-hour clock preference.
280 LocaleData d = LocaleData.get(context.getResources().getConfiguration().locale);
287 * to the current locale and the user's date-order preference.
301 * including null to use the locale's default format.
304 * the current locale
345 // The setting is not set; use the locale's default.
346 LocaleData d = LocaleData.get(context.getResources().getConfiguration().locale);
352 * in long form (such as {@code Monday, January 3, 2000}) for the current locale.
362 * in medium form (such as {@code Jan 3, 2000}) for the current locale.