次の方法で共有


LocalDateTime.Now メソッド

定義

オーバーロード

Now()
Now(ZoneId)
Now(Clock)

Now()

[Android.Runtime.Register("now", "()Ljava/time/LocalDateTime;", "", ApiSince=26)]
public static Java.Time.LocalDateTime? Now ();
[<Android.Runtime.Register("now", "()Ljava/time/LocalDateTime;", "", ApiSince=26)>]
static member Now : unit -> Java.Time.LocalDateTime

戻り値

属性

適用対象

Now(ZoneId)

[Android.Runtime.Register("now", "(Ljava/time/ZoneId;)Ljava/time/LocalDateTime;", "", ApiSince=26)]
public static Java.Time.LocalDateTime? Now (Java.Time.ZoneId? zone);
[<Android.Runtime.Register("now", "(Ljava/time/ZoneId;)Ljava/time/LocalDateTime;", "", ApiSince=26)>]
static member Now : Java.Time.ZoneId -> Java.Time.LocalDateTime

パラメーター

zone
ZoneId

戻り値

属性

適用対象

Now(Clock)

[Android.Runtime.Register("now", "(Ljava/time/Clock;)Ljava/time/LocalDateTime;", "", ApiSince=26)]
public static Java.Time.LocalDateTime? Now (Java.Time.Clock? clock);
[<Android.Runtime.Register("now", "(Ljava/time/Clock;)Ljava/time/LocalDateTime;", "", ApiSince=26)>]
static member Now : Java.Time.Clock -> Java.Time.LocalDateTime

パラメーター

clock
Clock

戻り値

属性

適用対象