Upraviť

Zdieľať cez


UmAlQuraCalendar.IsLeapMonth(Int32, Int32, Int32) Method

Definition

Determines whether the specified month in the specified year and era is a leap month.

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

Parameters

year
Int32

A year.

month
Int32

An integer from 1 through 12 that represents a month.

era
Int32

An era. Specify UmAlQuraCalendar.Eras[UmAlQuraCalendar.CurrentEra] or UmAlQuraEra.

Returns

Always false because the UmAlQuraCalendar class does not support leap months.

Exceptions

year, month, or era is outside the range supported by the UmAlQuraCalendar class.

Remarks

A leap month is an entire month that occurs only in a leap year.

Applies to