JapaneseCalendar.GetLeapMonth(Int32, Int32) 메서드

정의

지정한 연도 및 연대의 윤월을 계산합니다.

public:
 override int GetLeapMonth(int year, int era);
public override int GetLeapMonth (int year, int era);
[System.Runtime.InteropServices.ComVisible(false)]
public override int GetLeapMonth (int year, int era);
override this.GetLeapMonth : int * int -> int
[<System.Runtime.InteropServices.ComVisible(false)>]
override this.GetLeapMonth : int * int -> int
Public Overrides Function GetLeapMonth (year As Integer, era As Integer) As Integer

매개 변수

year
Int32

연도입니다.

era
Int32

연대입니다.

반환

반환 값은 JapaneseCalendar 형식이 윤월 개념을 지원하지 않기 때문에 항상 0입니다.

특성

예외

year 또는 eraJapaneseCalendar 형식에서 지원하는 범위 밖에 있는 경우

설명

윤월의 개념을 지원하는 달력에서 윤월은 특정 월 이후 또는 1년 후에 발생할 수 있습니다. 예를 들어 메서드는 GetMonth 지정된 날짜와 연결된 월을 나타내는 1에서 13 사이의 숫자를 반환합니다. 해당 연도 GetMonth 의 8개월과 9개월 사이에 윤월이 있는 경우 메서드는 8개월에 8, 윤8개월에는 9, 9개월은 10을 반환합니다.

적용 대상