updateGlobalLocale static method
void
updateGlobalLocale({})
Updates the global locale settings.
Implementation
static void updateGlobalLocale({
String? code,
List<String>? months,
List<String>? monthsShort,
List<String>? weekdays,
List<String>? weekdaysShort,
List<String>? weekdaysMin,
int? weekStart,
int? yearStart,
String? invalidDate,
HoraFormats? formats,
HoraRelativeTime? relativeTime,
}) {
Hora.globalLocale = Hora.globalLocale.update(
code: code,
months: months,
monthsShort: monthsShort,
weekdays: weekdays,
weekdaysShort: weekdaysShort,
weekdaysMin: weekdaysMin,
weekStart: weekStart,
yearStart: yearStart,
invalidDate: invalidDate,
formats: formats,
relativeTime: relativeTime,
);
}