JulianCalendar.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

연대를 나타내는 정수입니다.

반환

Int32

지정한 연도와 연대에서 윤월을 나타내는 양의 정수입니다. 또는 이 메서드는 달력이 윤월을 지원하지 않거나 yearera가 윤년을 지정하지 않는 경우 0을 반환합니다.

특성

설명

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

적용 대상