Calendar.ISO.months_in_year

You're seeing just the function months_in_year, go back to Calendar.ISO module for more information.
Link to this function

months_in_year(year)

View Source (since 1.7.0)

Specs

months_in_year(year()) :: 12

Returns how many months there are in the given year.

Example

iex> Calendar.ISO.months_in_year(2004)
12