Compartilhar via


IChronoLocalDateTime.ToString Method

Definition

Outputs this date-time as a String.

[Android.Runtime.Register("toString", "()Ljava/lang/String;", "GetToStringHandler:Java.Time.Chrono.IChronoLocalDateTimeInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public string? ToString ();
[<Android.Runtime.Register("toString", "()Ljava/lang/String;", "GetToStringHandler:Java.Time.Chrono.IChronoLocalDateTimeInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member ToString : unit -> string

Returns

a string representation of this date-time, not null

Attributes

Remarks

Outputs this date-time as a String.

The output will include the full local date-time.

Java documentation for java.time.chrono.ChronoLocalDateTime.toString().

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.

Applies to