次の方法で共有


ITemporalUnit.ToString Method

Definition

Gets a descriptive name for the unit.

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

Returns

the name of this unit, not null

Attributes

Remarks

Gets a descriptive name for the unit.

This should be in the plural and upper-first camel case, such as 'Days' or 'Minutes'.

Java documentation for java.time.temporal.TemporalUnit.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