DateFormatSymbols.SetShortWeekdays(String[]) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
組合為平日串的縮寫;例如:「Sun」、「Mon」等。
[Android.Runtime.Register("setShortWeekdays", "([Ljava/lang/String;)V", "GetSetShortWeekdays_arrayLjava_lang_String_Handler", ApiSince=24)]
public virtual void SetShortWeekdays(string[]? newAbbrevWeekdays);
[<Android.Runtime.Register("setShortWeekdays", "([Ljava/lang/String;)V", "GetSetShortWeekdays_arrayLjava_lang_String_Handler", ApiSince=24)>]
abstract member SetShortWeekdays : string[] -> unit
override this.SetShortWeekdays : string[] -> unit
參數
- newAbbrevWeekdays
- String[]
新的簡化平日串。 陣列應該由 Calendar.SUNDAY、 、 Calendar.MONDAY等來索引。
- 屬性
備註
組合為平日串的縮寫;例如:「Sun」、「Mon」等。(註:該方法名稱具有誤導性;它不設定 CLDR 風格的「短」平日字串,例如 「Su」、「Mo」等)
Java 文件 android.icu.text.DateFormatSymbols.setShortWeekdays(java.lang.String[])。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。