DateTimeFormatter.Format(ITemporalAccessor) 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 a date-time object using this formatter.
[Android.Runtime.Register("format", "(Ljava/time/temporal/TemporalAccessor;)Ljava/lang/String;", "", ApiSince=26)]
public string? Format (Java.Time.Temporal.ITemporalAccessor? temporal);
[<Android.Runtime.Register("format", "(Ljava/time/temporal/TemporalAccessor;)Ljava/lang/String;", "", ApiSince=26)>]
member this.Format : Java.Time.Temporal.ITemporalAccessor -> string
Parameters
- temporal
- ITemporalAccessor
the temporal object to format, not null
Returns
the formatted string, not null
- Attributes
Remarks
Formats a date-time object using this formatter.
This formats the date-time to a String using the rules of the formatter.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.