Gregorian.isLeapYear

Overridden. Indicates whether the specified _year in the specified _era is a leap _year.

class Gregorian
override
bool
isLeapYear
(
uint year
,
uint era
)

Parameters

era uint

An integer representing the _era.

Return Value

Type: bool

true is the specified _year is a leap _year; otherwise, false.

Meta