EastAsianLunisolarCalendar.GetMonthsInYear(Int32, Int32) Método
Definição
Calcula o número de meses no ano e era especificados.Calculates the number of months in the specified year and era.
public:
override int GetMonthsInYear(int year, int era);
public override int GetMonthsInYear (int year, int era);
override this.GetMonthsInYear : int * int -> int
Public Overrides Function GetMonthsInYear (year As Integer, era As Integer) As Integer
Parâmetros
- year
- Int32
Um inteiro que representa o ano.An integer that represents the year.
- era
- Int32
Um inteiro que representa a era.An integer that represents the era.
Retornos
O número de meses do ano especificado na era especificada.The number of months in the specified year in the specified era. O valor retornado é 12 meses em um ano comuns ou 13 meses em um ano bissexto.The return value is 12 months in a common year or 13 months in a leap year.
Exceções
year ou era está fora do intervalo com suporte por esse calendário.year or era is outside the range supported by this calendar.