Calendar.ISO.months_in_year
You're seeing just the function
months_in_year
, go back to Calendar.ISO module for more information.
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