Home | History | Annotate | Download | only in i18n

Lines Matching refs:Locale

83     create(Locale::getDefault(), UTMUTFMT_FULL_STYLE, status);
87 TimeUnitFormat::TimeUnitFormat(const Locale& locale, UErrorCode& status)
90 create(locale, UTMUTFMT_FULL_STYLE, status);
94 TimeUnitFormat::TimeUnitFormat(const Locale& locale, UTimeUnitFormatStyle style, UErrorCode& status)
97 create(locale, style, status);
361 TimeUnitFormat::create(const Locale& locale, UTimeUnitFormatStyle style, UErrorCode& status) {
370 fLocale = locale;
380 //In Java, create an empty instance does not setup locale as
381 //default locale. If it followed by setNumberFormat(),
382 //in format(), the locale will set up as the locale in fNumberFormat.
383 //But in C++, this sets the locale as the default locale.
561 // look for its unit pattern in its locale tree.
562 // if pattern is not found in its own locale, such as de_DE,
567 // look for the pattern of "other" in the locale tree:
582 // get all the patterns for each plural rule in this locale.
637 // look for pattern for srcPluralCount in locale tree
685 // if no unitsShort resource was found even after fallback to root locale
693 // Add an underscore at the tail of locale name,
694 // so that searchInLocaleChain will check the current locale before falling back
758 TimeUnitFormat::setLocale(const Locale& locale, UErrorCode& status) {
759 if (U_SUCCESS(status) && fLocale != locale) {
760 fLocale = locale;