DateTimeFormatterBuilder.AppendOptional(DateTimeFormatter) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在建構器上附加一個格式化器,該格式化器可選擇格式化/解析。
[Android.Runtime.Register("appendOptional", "(Ljava/time/format/DateTimeFormatter;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)]
public Java.Time.Format.DateTimeFormatterBuilder? AppendOptional(Java.Time.Format.DateTimeFormatter? formatter);
[<Android.Runtime.Register("appendOptional", "(Ljava/time/format/DateTimeFormatter;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)>]
member this.AppendOptional : Java.Time.Format.DateTimeFormatter -> Java.Time.Format.DateTimeFormatterBuilder
參數
- formatter
- DateTimeFormatter
formatter 要加,不是 null
傳回
這是鏈結時的,不是空
- 屬性
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。