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

반환 값은 ThaiBuddhistCalendar 클래스가 윤월 개념을 지원하지 않기 때문에 항상 0입니다.

특성

설명

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

적용 대상