Calendar.getDaysInYear

Returns the number of days in the specified _year of the current era.

  1. uint getDaysInYear(uint year)
    class Calendar
    const
    uint
    getDaysInYear
    (
    uint year
    )
  2. uint getDaysInYear(uint year, uint era)

Return Value

Type: uint

The number of days in the specified _year in the current era.

Meta