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