YearMonth.WithMonth(Int32) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
연도가 변경된 이 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 참조