This is the archived documentation for Angular v6. Please visit angular.io to see documentation for the current version of Angular.

getLocaleFirstDayOfWeek

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.

      
      getLocaleFirstDayOfWeek(locale: string): WeekDay
    

Parameters

locale

Type: string.

Returns

WeekDay