Calendar.getMonthsInYear

When overridden, returns the number of months in the specified _year of the specified _era.

  1. uint getMonthsInYear(uint year)
  2. uint getMonthsInYear(uint year, uint era)
    class Calendar
    abstract
    uint
    getMonthsInYear
    (
    uint year
    ,
    uint era
    )

Parameters

year uint

An integer representing the _year.

era uint

An integer representing the _era.

Return Value

Type: uint

The number of months in the specified _year in the specified _era.

Meta