MyApp.Cldr.DateTime.Format.language_has_noon_and_midnight-question-mark

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

language_has_noon_and_midnight?(locale)

View Source

Specs

language_has_noon_and_midnight?(
  Cldr.LanguageTag.t()
  | Cldr.Locale.locale_name()
) :: boolean()

Returns a boolean indicating is a given language defines the notion of "noon" and "midnight"

Arguments

  • language is a binary representation of a valid and configured language in Cldr

Examples

iex> Elixir.MyApp.Cldr.DateTime.Format.language_has_noon_and_midnight? "fr"
true

iex> Elixir.MyApp.Cldr.DateTime.Format.language_has_noon_and_midnight? "en"
true

iex> Elixir.MyApp.Cldr.DateTime.Format.language_has_noon_and_midnight? "af"
false