OffsetDateTime.ToInstant 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.
Convertit cette date et heure en un instant.
[Android.Runtime.Register("toInstant", "()Ljava/time/Instant;", "", ApiSince=26)]
public Java.Time.Instant? ToInstant();
[<Android.Runtime.Register("toInstant", "()Ljava/time/Instant;", "", ApiSince=26)>]
member this.ToInstant : unit -> Java.Time.Instant
Retours
un instant représentant le même instant, et non null
- Attributs
Remarques
Convertit cette date et heure en un instant. Cette opération renvoie un instant représentant le même point sur la ligne de temps que cette date-heure.
Java référence pour java.time.OffsetDateTime.toInstant.