Cldr.Calendar.week_of_year
You're seeing just the callback
week_of_year
, go back to Cldr.Calendar module for more information.
Specs
week_of_year( year :: Calendar.year(), month :: Calendar.month() | week(), day :: Calendar.day() ) :: {Calendar.year(), Calendar.week()} | {:error, :not_defined}
Returns a tuple of {year, week_in_year}
for a given year
, month
or week
, and day
for a a calendar.
The week_in_year
is calculated based upon the calendar configuration.