Time.from_erl-exclamation-mark

You're seeing just the function from_erl-exclamation-mark, go back to Time module for more information.
Link to this function

from_erl!(tuple, microsecond \\ {0, 0}, calendar \\ Calendar.ISO)

View Source

Specs

Converts an Erlang time tuple to a Time struct.

Examples

iex> Time.from_erl!({23, 30, 15})
~T[23:30:15]
iex> Time.from_erl!({23, 30, 15}, {5000, 3})
~T[23:30:15.005]
iex> Time.from_erl!({24, 30, 15})
** (ArgumentError) cannot convert {24, 30, 15} to time, reason: :invalid_time