Clock.Instant Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.