MyApp.Cldr.DateTime.Format.calendars_for

You're seeing just the function calendars_for, go back to MyApp.Cldr.DateTime.Format module for more information.
Link to this function

calendars_for(locale \\ MyApp.Cldr.get_locale())

View Source

Specs

calendars_for(Cldr.Locale.locale_name() | Cldr.LanguageTag.t()) ::
  {:ok, [calendar(), ...]} | {:error, {module(), String.t()}}

Returns a list of calendars defined for a given locale.

Arguments

Example

iex> Elixir.MyApp.Cldr.DateTime.Format.calendars_for "en"
{:ok, [:buddhist, :chinese, :coptic, :dangi, :ethiopic, :ethiopic_amete_alem,
 :generic, :gregorian, :hebrew, :indian, :islamic, :islamic_civil,
 :islamic_rgsa, :islamic_tbla, :islamic_umalqura, :japanese, :persian, :roc]}