Langue

MonthDay.WithMonth(Int32) Méthode

Définition

Retourne une copie de ce MonthDay avec la modification du mois de l’année.

[Android.Runtime.Register("withMonth", "(I)Ljava/time/MonthDay;", "", ApiSince=26)]
public Java.Time.MonthDay? WithMonth(int month);
[<Android.Runtime.Register("withMonth", "(I)Ljava/time/MonthDay;", "", ApiSince=26)>]
member this.WithMonth : int -> Java.Time.MonthDay

Paramètres

month
Int32

mois de l’année à définir dans le jour du mois retourné, du 1er janvier au 12 (décembre)

Retours

MonthDay basé sur ce mois-jour avec le mois demandé, et non null

Attributs

Remarques

À ajouter.

Java référence pour java.time.MonthDay.withMonth.

S’applique à