LocalDateTime.WithSecond(Int32) 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.
Retourne une copie de ce LocalDateTime avec la seconde minute modifiée.
[Android.Runtime.Register("withSecond", "(I)Ljava/time/LocalDateTime;", "", ApiSince=26)]
public Java.Time.LocalDateTime? WithSecond(int second);
[<Android.Runtime.Register("withSecond", "(I)Ljava/time/LocalDateTime;", "", ApiSince=26)>]
member this.WithSecond : int -> Java.Time.LocalDateTime
Paramètres
- second
- Int32
seconde de minute à définir dans le résultat, de 0 à 59
Retours
LocalDateTime basé sur cette date-heure avec la seconde demandée, et non null
- Attributs
Remarques
À ajouter.
Java référence pour java.time.LocalDateTime.withSecond.