getLocaleFirstDayOfWeek
function
experimental
npm Package | @angular/common |
---|---|
Module | import { getLocaleFirstDayOfWeek } from '@angular/common'; |
Source | common/src/i18n/locale_data_api.ts |
function getLocaleFirstDayOfWeek(locale: string): WeekDay;
Description
First day of the week for this locale, based on english days (Sunday = 0, Monday = 1, ...). For example in french the value would be 1 because the first day of the week is Monday.
© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/common/getLocaleFirstDayOfWeek