Methods of Class OLocale


OLocale
OLocale(
rtl_Locale * locale );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO


OLocale
OLocale(
const OLocale & obj );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO


operator=
OLocale & operator=(
const OLocale & obj );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO


getLanguage
OUString getLanguage();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Getter for programmatic name of field, an lowercased two-letter ISO-639 code.

getCountry
OUString getCountry();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Getter for programmatic name of field, an uppercased two-letter ISO-3166 code.

getVariant
OUString getVariant();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Getter for programmatic name of field.

hashCode
sal_Int32 hashCode();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Returns the hash code of the locale This.

operator==
sal_Bool operator==(
const OLocale & obj ) const;

virtual abstract const volatile template static inline C-linkage
NO NO YES NO NO NO YES NO


getData
rtl_Locale * getData();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO


OLocale
OLocale();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO


registerLocale
static OLocale registerLocale(
const OUString & language,
const OUString & country,
const OUString & variant );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO YES YES NO

Summary
Construct a locale from language, country, variant.
Parameters
language
lowercase two-letter ISO-639 code.
country
uppercase two-letter ISO-3166 code.
variant
vendor and browser specific code. See class description.

registerLocale
static OLocale registerLocale(
const OUString & language,
const OUString & country );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO YES YES NO

Summary
Construct a locale from language, country.
Parameters
language
lowercase two-letter ISO-639 code.
country
uppercase two-letter ISO-3166 code.

getDefault
static OLocale getDefault();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO YES YES NO

D E P R E C A T E D

setDefault
static void setDefault(
const OUString & language,
const OUString & country,
const OUString & variant );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO YES YES NO

D E P R E C A T E D

Top of Page