Calendar.GetLeapMonth 메서드

정의

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

오버로드

GetLeapMonth(Int32, Int32)

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

GetLeapMonth(Int32)

지정된 연도의 윤월을 계산합니다.

GetLeapMonth(Int32, Int32)

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

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

매개 변수

year
Int32

연도입니다.

era
Int32

연대입니다.

반환

Int32

지정한 연도와 연대에서 윤월을 나타내는 양의 정수입니다.

또는 이 달력이 윤월을 지원하지 않거나 yearera 매개 변수가 윤년을 지정하지 않는 경우 0입니다.

특성

설명

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

적용 대상

GetLeapMonth(Int32)

지정된 연도의 윤월을 계산합니다.

public:
 virtual int GetLeapMonth(int year);
public virtual int GetLeapMonth (int year);
[System.Runtime.InteropServices.ComVisible(false)]
public virtual int GetLeapMonth (int year);
abstract member GetLeapMonth : int -> int
override this.GetLeapMonth : int -> int
[<System.Runtime.InteropServices.ComVisible(false)>]
abstract member GetLeapMonth : int -> int
override this.GetLeapMonth : int -> int
Public Overridable Function GetLeapMonth (year As Integer) As Integer

매개 변수

year
Int32

연도입니다.

반환

Int32

지정된 연도의 윤월을 나타내는 양의 정수입니다.

또는 이 달력이 윤월을 지원하지 않거나 year 매개 변수가 윤년을 나타내지 않는 경우 0입니다.

특성

설명

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

적용 대상