hunt-extra ~master (2022-03-03T03:00:29Z)
Home
Dub
Repo
Locale
hunt
system
Locale
class
Locale
class
Locale
version(!Posix && Windows)
class
Locale {
string
language
;
string
country
;
string
encoding
;
string
variant
;
string
script
;
string
toString
();
static
Locale
getUserDefault
();
static
Locale
getSystemDefault
();
static
Locale
getUserUI
();
static
Locale
query
(LCID lcid);
static
string
getEncodingFromLangID
(LANGID langID);
}
Members
Functions
toString
string
toString
()
Undocumented in source. Be warned that the author may not have intended to support it.
Static functions
getEncodingFromLangID
string
getEncodingFromLangID
(LANGID langID)
Undocumented in source. Be warned that the author may not have intended to support it.
getSystemDefault
Locale
getSystemDefault
()
Undocumented in source. Be warned that the author may not have intended to support it.
getUserDefault
Locale
getUserDefault
()
Undocumented in source. Be warned that the author may not have intended to support it.
getUserUI
Locale
getUserUI
()
Undocumented in source. Be warned that the author may not have intended to support it.
query
Locale
query
(LCID lcid)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
country
string
country
;
Undocumented in source.
encoding
string
encoding
;
Undocumented in source.
language
string
language
;
Undocumented in source.
script
string
script
;
Undocumented in source.
variant
string
variant
;
Undocumented in source.
See Also
https://linux.die.net/man/3/setlocale
Meta
Source
See Implementation
hunt
system
Locale
aliases
CODESET
classes
Locale
enums
LOCALE_SNAME
LocaleCategory
functions
nl_langinfo
manifest constants
_NL_CTYPE_CODESET_NAME
variables
countryNames
languageNames
localeAliases
scriptNames
variantNames