共用方式為


LocalDate.Now 方法

定義

多載

Now()
Now(Clock)
Now(ZoneId)

Now()

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

傳回

屬性

適用於

Now(Clock)

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

參數

clock
Clock

傳回

屬性

適用於

Now(ZoneId)

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

參數

zone
ZoneId

傳回

屬性

適用於