UpdateLocaleExtension extension

Extension on HoraLocale for updating locale data.

on

Methods

update({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, String ordinal(int n, String? unit)?, String meridiem(int hour, int minute, {bool lowercase})?}) UpdatedLocale

Available on HoraLocale, provided by the UpdateLocaleExtension extension

Creates a new locale with updated properties.
updateFormats({String? lt, String? lts, String? l, String? ll, String? lll, String? llll}) UpdatedLocale

Available on HoraLocale, provided by the UpdateLocaleExtension extension

Creates a new locale with updated formats.
updateRelativeTime({String? future, String? past, String? s, String? m, String? mm, String? h, String? hh, String? d, String? dd, String? w, String? ww, String? mo, String? mos, String? y, String? yy}) UpdatedLocale

Available on HoraLocale, provided by the UpdateLocaleExtension extension

Creates a new locale with updated relative time.