ZonedDateTime.Now 方法

定义

重载

Now(ZoneId)
Now()
Now(Clock)

Now(ZoneId)

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

参数

zone
ZoneId

返回

属性

适用于

Now()

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

返回

属性

适用于

Now(Clock)

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

参数

clock
Clock

返回

属性

适用于