Date.from_iso8601-exclamation-mark
You're seeing just the function
from_iso8601-exclamation-mark
, go back to Date module for more information.
Specs
from_iso8601!(String.t(), Calendar.calendar()) :: t()
Parses the extended "Dates" format described by ISO 8601:2019.
Raises if the format is invalid.
Examples
iex> Date.from_iso8601!("2015-01-23")
~D[2015-01-23]
iex> Date.from_iso8601!("2015:01:23")
** (ArgumentError) cannot parse "2015:01:23" as date, reason: :invalid_format