Calendar.months_in_year

You're seeing just the callback months_in_year, go back to Calendar module for more information.

Specs

months_in_year(year()) :: month()

Returns how many months there are in the given year.