Interface Locale
interface Locale {
baseName: string;
calendar?: string;
caseFirst?: LocaleCollationCaseFirst;
collation?: string;
hourCycle?: LocaleHourCycleKey;
language: string;
numberingSystem?: string;
numeric?: boolean;
region?: string;
script?: string;
maximize(): Intl.Locale;
minimize(): Intl.Locale;
toString(): string;
}
baseName: string;
calendar?: string;
caseFirst?: LocaleCollationCaseFirst;
collation?: string;
hourCycle?: LocaleHourCycleKey;
language: string;
numberingSystem?: string;
numeric?: boolean;
region?: string;
script?: string;
maximize(): Intl.Locale;
minimize(): Intl.Locale;
toString(): string;
}
                 
                    
                  Hierarchy
              
              - LocaleOptions- Locale (View Summary)
 
 Index
 Properties
baseName 
baseName: string
Optionalcalendar
calendar?: string
The part of the Locale that indicates the locale's calendar era.
OptionalcaseFirst 
Flag that defines whether case is taken into account for the locale's collation rules.
Optionalcollation
collation?: string
The collation type used for sorting
OptionalhourCycle 
The time keeping format convention used by the locale.
language
language: string
The primary language subtag associated with the locale.
OptionalnumberingSystem 
numberingSystem?: string
The numeral system used by the locale.
Optionalnumeric
numeric?: boolean
Flag that defines whether the locale has special collation handling for numeric characters.
Optionalregion
region?: string
The region of the world (usually a country) associated with the locale. Possible values are region codes as defined by ISO 3166-1.
Optionalscript
script?: string
The script used for writing the particular language used in the locale. Possible values are script codes as defined by ISO 15924.
A string containing the language, and the script and region if available.