Calendar.isLeapYear

When overridden, indicates whether the specified _year in the specified _era is a leap _year.

  1. bool isLeapYear(uint year)
  2. bool isLeapYear(uint year, uint era)
    class Calendar
    abstract
    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