Redigera

Dela via


EastAsianLunisolarCalendar.IsLeapDay(Int32, Int32, Int32, Int32) Method

Definition

Determines whether the specified date in the specified era is a leap day.

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

Parameters

year
Int32

An integer that represents the year.

month
Int32

An integer from 1 through 13 that represents the month.

day
Int32

An integer from 1 through 31 that represents the day.

era
Int32

An integer that represents the era.

Returns

true if the specified day is a leap day; otherwise, false.

Exceptions

year, month, day, or era is outside the range supported by this calendar.

Applies to