填寫這份《一分鐘調查》,幫我們(開發組)做得更好!去填寫Home

getLocaleDayNames

使用公曆來檢索給定語言環境下的星期幾。

Retrieves days of the week for the given locale, using the Gregorian calendar.

      
      getLocaleDayNames(locale: string, formStyle: FormStyle, width: TranslationWidth): ReadonlyArray<string>
    
引數
locale string

用於要使用的語言環境格式規則的語言環境程式碼。

A locale code for the locale format rules to use.

formStyle FormStyle

所需的語法形式。

The required grammatical form.

width TranslationWidth

所需的字元寬度。

The required character width.

返回值

本地化名稱字串的陣列。例如,en-US [Sunday, Monday, ... Saturday]

ReadonlyArray<string>: An array of localized name strings. For example,[Sunday, Monday, ... Saturday] for en-US.

參見