次の方法で共有


Duration.ToMinutesPart Method

Definition

Extracts the number of minutes part in the duration.

[Android.Runtime.Register("toMinutesPart", "()I", "", ApiSince=31)]
public int ToMinutesPart ();
[<Android.Runtime.Register("toMinutesPart", "()I", "", ApiSince=31)>]
member this.ToMinutesPart : unit -> int

Returns

the number of minutes parts in the duration, may be negative

Attributes

Remarks

Extracts the number of minutes part in the duration.

This returns the number of remaining minutes when dividing #toMinutes by minutes in an hour. This is based on the standard definition of an hour as 60 minutes.

This instance is immutable and unaffected by this method call.

Added in 9.

Java documentation for java.time.Duration.toMinutesPart().

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