setLocaleGlobally static method
Sets the global locale
If useInFormat
is set to true, the chosen locale needs to be
initialized with initializeDateFormatting(locale.localeString)
Implementation
static setLocaleGlobally(ILocaleData locale, {useInFormat = false}) {
_globalLocale = locale;
_useGlobalLocaleInFormat = useInFormat;
}