Share via


IChronoPeriod.ToString Method

Definition

Outputs this period as a String.

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

Returns

a string representation of this period, not null

Attributes

Remarks

Outputs this period as a String.

The output will include the period amounts and chronology.

Java documentation for java.time.chrono.ChronoPeriod.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