Home | History | Annotate | Download | only in unicode

Lines Matching refs:Locale

72  * Like other locale-sensitive classes, <code>Calendar</code> provides a
249 * who create locale resources for the field of first-day-of-week should be aware of
250 * this. For instance, in US locale, first-day-of-week is set to 1, i.e., SUNDAY.
308 * Creates a Calendar using the default timezone and locale. Clients are responsible
321 * Creates a Calendar using the given timezone and the default locale.
335 * Creates a Calendar using the given timezone and the default locale. The TimeZone
348 * Creates a Calendar using the default timezone and the given locale.
350 * @param aLocale The given locale.
357 static Calendar* U_EXPORT2 createInstance(const Locale& aLocale, UErrorCode& success);
360 * Creates a Calendar using the given timezone and given locale.
365 * @param aLocale The given locale.
372 static Calendar* U_EXPORT2 createInstance(TimeZone* zoneToAdopt, const Locale& aLocale, UErrorCode& success);
375 * Gets a Calendar using the given timezone and given locale. The TimeZone
379 * @param aLocale The given locale.
386 static Calendar* U_EXPORT2 createInstance(const TimeZone& zone, const Locale& aLocale, UErrorCode& success);
392 * @return An array of Locale objects representing the set of locales for which
397 static const Locale* U_EXPORT2 getAvailableLocales(int32_t& count);
401 * Given a key and a locale, returns an array of string values in a preferred
403 * the open (creation) of the service with the locale formed from the input locale
405 * input locale alone.
408 * @param locale the locale
410 * with the given locale in preferred order. Otherwise,
411 * it will return all the available values for the locale.
413 * @return a string enumeration over keyword values for the given key and the locale.
417 const Locale& locale, UBool commonlyUsed, UErrorCode& status);
1347 * See type="old type name" for the calendar attribute of locale IDs
1433 * TimeZone::createInstance(), and the default locale.
1458 * Constructs a Calendar with the given time zone and locale. Clients are no longer
1462 * @param aLocale The given locale.
1467 Calendar(TimeZone* zone, const Locale& aLocale, UErrorCode& success);
1470 * Constructs a Calendar with the given time zone and locale.
1473 * @param aLocale The given locale.
1478 Calendar(const TimeZone& zone, const Locale& aLocale, UErrorCode& success);
2173 * Both firstDayOfWeek and minimalDaysInFirstWeek are locale-dependent. They are
2174 * used to figure out the week count for a specific date for a given locale. These
2175 * must be set when a Calendar is constructed. For example, in US locale,
2177 * out the week count for a specific date for a given locale. These must be set when
2191 * @param desiredLocale The given locale.
2194 * the resource for the given locale. Returns U_ZERO_ERROR if
2197 void setWeekData(const Locale& desiredLocale, const char *type, UErrorCode& success);
2406 /** Get the locale for this calendar object. You can choose between valid and actual locale.
2407 * @param type type of the locale we're looking for (valid or actual)
2409 * @return the locale
2412 Locale getLocale(ULocDataLocaleType type, UErrorCode &status) const;
2415 /** Get the locale for this calendar object. You can choose between valid and actual locale.
2416 * @param type type of the locale we're looking for (valid or actual)
2418 * @return the locale
2437 // since the Locale isn't specified, use the default locale
2438 return createInstance(zone, Locale::getDefault(), errorCode);