Langage

Clock.Instant Méthode

Définition

Obtient l’instant actuel de l’horloge.

[Android.Runtime.Register("instant", "()Ljava/time/Instant;", "GetInstantHandler", ApiSince=26)]
public abstract Java.Time.Instant? Instant();
[<Android.Runtime.Register("instant", "()Ljava/time/Instant;", "GetInstantHandler", ApiSince=26)>]
abstract member Instant : unit -> Java.Time.Instant

Retours

l’instant actuel de cette horloge, et non null

Implémente

Attributs

Remarques

Obtient l’instant actuel de l’horloge. Cela retourne un instant représentant l’instant actuel tel que défini par l’horloge.

Java référence pour java.time.Clock.instant.

S’applique à