共用方式為


LocalDateTime.Format(DateTimeFormatter) 方法

定義

[Android.Runtime.Register("format", "(Ljava/time/format/DateTimeFormatter;)Ljava/lang/String;", "", ApiSince=26)]
public string? Format (Java.Time.Format.DateTimeFormatter? formatter);
[<Android.Runtime.Register("format", "(Ljava/time/format/DateTimeFormatter;)Ljava/lang/String;", "", ApiSince=26)>]
abstract member Format : Java.Time.Format.DateTimeFormatter -> string
override this.Format : Java.Time.Format.DateTimeFormatter -> string

參數

formatter
DateTimeFormatter

傳回

實作

屬性

適用於