getLocaleWeekEndRange
function
deprecatedsince v18.0
Range of week days that are considered the week-end for the given locale.
Deprecation warning
跳到詳細內容
Range of week days that are considered the week-end for the given locale.
Deprecation warning
Angular recommends relying on the Intl API for i18n.
Intl's getWeekInfo has partial support (Chromium M99 & Safari 17).
Libraries like Luxon rely on Intl but fallback on the ISO 8601 definition (Saturday+Sunday) if getWeekInfo is not supported .
Angular recommends relying on the Intl API for i18n.
Intl's getWeekInfo has partial support (Chromium M99 & Safari 17).
Libraries like Luxon rely on Intl but fallback on the ISO 8601 definition (Saturday+Sunday) if getWeekInfo is not supported .
stringA locale code for the locale format rules to use.