Base Framework
|
Multi-language support. More...
#include <base/string/Locale.h>
Inherits DateFormatSet.
Public Member Functions | |
Locale () noexcept | |
const String & | getBoolean (bool value) const noexcept |
![]() | |
DateFormatSet () noexcept | |
char | getDateSeparator () const noexcept |
char | getTimeSeparator () const noexcept |
String | getShortNameOfWeekday (unsigned int weekday) const |
String | getLongNameOfWeekday (unsigned int weekday) const |
String | getShortNameOfMonth (unsigned int month) const |
String | getLongNameOfMonth (unsigned int month) const |
const String & | getPM () const noexcept |
const String & | getAM () const noexcept |
const String & | getShortDateFormat () const noexcept |
void | setShortDateFormat (const String &format) noexcept |
const String & | getMediumDateFormat () const noexcept |
void | setMediumDateFormat (const String &format) noexcept |
const String & | getLongDateFormat () const noexcept |
void | setLongDateFormat (const String &format) noexcept |
const String & | getShortTimeFormat () const noexcept |
void | setShortTimeFormat (const String &format) noexcept |
const String & | getMediumTimeFormat () const noexcept |
void | setMediumTimeFormat (const String &format) noexcept |
const String & | getLongTimeFormat () const noexcept |
void | setLongTimeFormat (const String &format) noexcept |
Static Public Member Functions | |
static String | getLocale () noexcept |
static void | setUserLocale () noexcept |
static void | setASCIILocale () noexcept |
static bool | setLocale (const String &locale) noexcept |
static void | getLocaleSpecific () noexcept |
Public Attributes | |
String | falseMessage |
String | trueMessage |
Static Public Attributes | |
static const Locale | POSIX |
Multi-language support.
This class provides multi-language support.
|
noexcept |
Initializes locale.
|
inlinenoexcept |
Returns boolean as string.
|
staticnoexcept |
Returns the current locale as a string.
|
staticnoexcept |
Queries the locale specific numeric and monetary information.
|
staticnoexcept |
Sets the locale of the application.
|
staticnoexcept |
Sets the locale of the application.
|
staticnoexcept |
Sets the application locale according to the environment settings.
|
static |
POSIX locale.