OffsetDateTime.Format(DateTimeFormatter) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Formats this date-time using the specified formatter.
[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)>]
member this.Format : Java.Time.Format.DateTimeFormatter -> string
Parameters
- formatter
- DateTimeFormatter
the formatter to use, not null
Returns
the formatted date-time string, not null
- Attributes
Remarks
To be added.
Java reference for java.time.OffsetDateTime.format.