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 const
    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