Cldr.DateTime.Relative.known_units

You're seeing just the function known_units, go back to Cldr.DateTime.Relative module for more information.

Returns a list of the valid unit keys for to_string/2

Example

iex> Cldr.DateTime.Relative.known_units
[:day, :hour, :minute, :month, :second, :week, :year, :mon, :tue, :wed, :thu,
 :fri, :sat, :sun, :quarter]