week_of_month, go back to Cldr.DateTime.Formatter module for more information.
Returns the week of the month (format symbol
W) as an integer.
Datestruct or any map that contains at least the keys
nin an integer between that should be between 1 and 4 that determines the format of the week of the month
The representation of the week of the month is made in accordance with the following table:
iex> import Cldr.Calendar.Sigils Cldr.Calendar.Sigils iex> Cldr.DateTime.Formatter.week_of_month ~D[2019-01-07], 1 "2" iex> Cldr.DateTime.Formatter.week_of_month ~d[2019-W04-1], 1 "4"