Gets the browsers current locale
Adapter to the Intl.Collator.compate() method. See Collator for details.
Adapter to the Intl.DateTimeFormat.formatDate() method. See DateTimeFormat for details.
Formats a date range using the specified culture settings, e.g. 2019-11-15, 2019-11-15, 'en' => 'Fri, Nov 15, 2019' 2019-11-15, 2019-11-20, 'en' => 'Nov 15-20, 2019' 2019-11-15, 2019-12-20, 'en' => 'Nov 15-Dec 20, 2019'
the start date.
the end date.
the locale used to format.
the option overrides for day, month, year and weekday formats. See DateTimeFormat for details.
Adapter to the Intl.DateTimeFormat.formatDateToParts() method. See DateTimeFormat for details.
Adapter to the Intl.NumberFormat.formatNumber() method. See NumberFormat for details.
Formats a time range using the specified culture settings, e.g. 2019-11-15 08:20, 2019-11-15 09:40, 'de' => 'Fr., 15. Nov. 2019, 08:20-09:40' 2019-11-15 08:20, 2019-11-16 09:40, 'de' => 'Fr., 15. Nov. 2019, 08:20-Sa., 16. Nov. 2019, 09:40'
the start date and time.
the end date and time.
the locale used to format.
the option overrides for day, month, year, weekday, hour, minute and second formats. See DateTimeFormat for details.
Parses a numeric date string using the date rules of the specified culture.
The date string to parse, e.g. 22
The locale to use for parsing.
An optional default value used to fill the missing parts.
Generated using TypeDoc
Angular injectable version of the IntlAdapter class