填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

getLocaleFirstDayOfWeek

Retrieves the first day of the week for the given locale.

      
      getLocaleFirstDayOfWeek(locale: string): WeekDay
    
参数
locale string

A locale code for the locale format rules to use.

返回值

WeekDay: A day index number, using the 0-based week-day index for en-US (Sunday = 0, Monday = 1, ...). For example, for fr-FR, returns 1 to indicate that the first day is Monday.

参见