共用方式為


Duration.OfHours(Int64) Method

Definition

[Android.Runtime.Register("ofHours", "(J)Ljava/time/Duration;", "", ApiSince=26)]
public static Java.Time.Duration? OfHours (long hours);
[<Android.Runtime.Register("ofHours", "(J)Ljava/time/Duration;", "", ApiSince=26)>]
static member OfHours : int64 -> Java.Time.Duration

Parameters

hours
Int64

Returns

Attributes

Applies to