언어

YearMonth.WithMonth(Int32) 메서드

정의

연도가 변경된 이 YearMonth의 복사본을 반환합니다.

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

매개 변수

month
Int32

1월(1월)에서 12월(12월)으로 반환되는 연도의 월을 설정합니다.

반품

요청된 월이 null이 아닌 올해 월을 기준으로 하는 YearMonth

특성

설명

추가할 수 있습니다.

에 대한 java.time.YearMonth.withMonthJava 참조

적용 대상