Commandex.Type.Time (Commandex v0.6.0)

Copy Markdown View Source

Casts values to times.

Accepts a Time or an ISO 8601 string. A string can omit the seconds, such as "10:30".

This module keeps the microseconds as given. The :time type drops them and the :time_usec type sets their precision to 6 digits.

Summary

Types

t()

@type t() :: Time.t()