Cldr.Currency.currency_history_for_locale

You're seeing just the function currency_history_for_locale, go back to Cldr.Currency module for more information.
Link to this function

currency_history_for_locale(locale)

View Source

Specs

currency_history_for_locale(Cldr.LanguageTag.t()) ::
  {:ok, map()} | {:error, {atom(), binary()}}

Returns a list of historic and the current currency for a given locale.

Arguments

Example

iex> Cldr.Currency.currency_history_for_locale "en", MyApp.Cldr
{:ok,
  %{
    USD: %{from: ~D[1792-01-01], to: nil},
    USN: %{tender: false},
    USS: %{from: nil, tender: false, to: ~D[2014-03-01]}
  }
}
Link to this function

currency_history_for_locale(locale_name, backend)

View Source

Specs

currency_history_for_locale(Cldr.Locale.locale_name(), Cldr.backend()) ::
  {:ok, map()} | {:error, {module(), String.t()}}