View Source MyApp.Cldr.Number.PluralRule.Range (Cldr v2.37.2)
Implements plural rules for ranges
Link to this section Summary
Functions
Returns a final plural type for a start-of-range plural type, an end-of-range plural type and a locale.
Link to this section Functions
@spec plural_rule( first :: Cldr.Number.PluralRule.plural_type(), last :: Cldr.Number.PluralRule.plural_type(), locale :: Cldr.Locale.locale_name() | Cldr.LanguageTag.t() ) :: Cldr.Number.PluralRule.plural_type()
Returns a final plural type for a start-of-range plural type, an end-of-range plural type and a locale.
  
  arguments
  
  Arguments
- firstis a plural type for the start of a range
- lastis a plural type for the end of a range
- localeis any- Cldr.LanguageTag.tor a language name (not locale name)
  
  example
  
  Example
iex> MyApp.Cldr.Number.PluralRule.Range.plural_rule :other, :few, "ar"
:few