Home | History | Annotate | Download | only in i18n

Lines Matching refs:Locale

304                                const Locale& aLocale)
313 const Locale& aLocale)
329 const Locale& aLocale)
343 return create(kShort, (EStyle) (kShort + kDateOffset), Locale::getDefault());
349 DateFormat::create(EStyle timeStyle, EStyle dateStyle, const Locale& locale)
354 int32_t count = locale.getKeywordValue("compat", buffer, sizeof(buffer), status);
356 // if the locale has "@compat=host", create a host-specific DateFormat...
358 Win32DateFormat *f = new Win32DateFormat(timeStyle, dateStyle, locale, status);
370 RelativeDateFormat *r = new RelativeDateFormat((UDateFormatStyle)timeStyle, (UDateFormatStyle)(dateStyle-kDateOffset), locale, status);
377 SimpleDateFormat *f = new SimpleDateFormat(timeStyle, dateStyle, locale, status);
382 // the DateFormatSymbols for this locale.
384 f = new SimpleDateFormat(locale, status);
396 const Locale* U_EXPORT2
400 // Even if root has the correct date format for this locale,
401 // it's still a valid locale (we don't worry about data fallbacks).
402 return Locale::getAvailableLocales(count);