Contains sigils only, for convenience.
Constructs a %Month{} struct using the ~M sigil.
%Month{}
~M
Uses new!/2 behind the scenes so will throw an exception on invalid input.
new!/2
iex> import Month Month iex> month = ~M[2019-03] ~M[2019-03] iex> Month.add(month, 3) {:ok, ~M[2019-06]}