node-web-mvc
Version:
node spring mvc
61 lines (59 loc) • 1.5 kB
TypeScript
export default class Locale {
readonly language: string;
readonly country: string;
readonly variant: string;
constructor(language: string, country: string, variant: string);
/** Useful constant for language.
*/
static ENGLISH: Locale;
/** Useful constant for language.
*/
static FRENCH: Locale;
/** Useful constant for language.
*/
static GERMAN: Locale;
/** Useful constant for language.
*/
static ITALIAN: Locale;
/** Useful constant for language.
*/
static JAPANESE: Locale;
/** Useful constant for language.
*/
static KOREAN: Locale;
/** Useful constant for language.
*/
static CHINESE: Locale;
/** Useful constant for country.
*/
static CANADA: Locale;
/** Useful constant for country.
*/
static CANADA_FRENCH: Locale;
/** Useful constant for country.
/** Useful constant for language.
*/
static SIMPLIFIED_CHINESE: Locale;
/** Useful constant for language.
*/
static TRADITIONAL_CHINESE: Locale;
/** Useful constant for country.
*/
static FRANCE: Locale;
/** Useful constant for country.
*/
static GERMANY: Locale;
/** Useful constant for country.
*/
static ITALY: Locale;
/** Useful constant for country.
*/
static JAPAN: Locale;
/** Useful constant for country.
*/
static UK: Locale;
/** Useful constant for country.
*/
static US: Locale;
toString(): string;
}