EastAsianLunisolarCalendar.GetDaysInMonth(Int32, Int32, Int32) 메서드

정의

지정된 연도 및 연대의 지정된 월에 있는 일 수를 계산합니다.

public:
 override int GetDaysInMonth(int year, int month, int era);
public override int GetDaysInMonth (int year, int month, int era);
override this.GetDaysInMonth : int * int * int -> int
Public Overrides Function GetDaysInMonth (year As Integer, month As Integer, era As Integer) As Integer

매개 변수

year
Int32

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

month
Int32

평년의 경우 1부터 12까지의 정수이고 윤년의 경우 1부터 13까지의 정수입니다. 이 값은 월을 나타냅니다.

era
Int32

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

반환

지정된 연도 및 연대의 지정된 월에 있는 일수입니다.

예외

year, month 또는 era가 이 달력에서 지원하는 범위 밖에 있는 경우

설명

매개 변수가 month 두 번째 달 GetDaysInMonth 인 경우 메서드는 매개 변수가 윤년인지 여부에 year 따라 28 또는 29를 반환합니다.

적용 대상