KoreanCalendar.GetLeapMonth(Int32, Int32) Metodo

Definizione

Calcola il mese bisestile per un anno e un'era specificati.

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
abstract member GetLeapMonth : int * int -> int
override this.GetLeapMonth : int * int -> int
Public Overrides Function GetLeapMonth (year As Integer, era As Integer) As Integer

Parametri

year
Int32

Un anno.

era
Int32

Un'era.

Valori restituiti

Il valore restituito è sempre 0 perché la KoreanCalendar classe non supporta la nozione di mese bisestile.

Attributi

Commenti

In un calendario che supporta la nozione di mese bisestile, il mese bisestile può verificarsi dopo un determinato mese o dopo qualsiasi mese in un anno. Ad esempio, il EastAsianLunisolarCalendar.GetMonth(DateTime) metodo restituisce un numero compreso tra 1 e 13 che indica il mese associato a una data specificata. Se è presente un mese bisestile tra l'ottavo e il nono mese dell'anno, il GetMonth metodo restituisce 8 per l'ottavo mese, 9 per l'ottavo mese bisestile e 10 per il nono mese.

Si applica a