View Source Cldr.PersonName.Formatter (Cldr Person Names v0.2.1)
Implements the person name formatting specification.
Summary
Types
Valid :formality option
Valid :format option
Valid options for Cldr.PersonName.to_string/2
Cldr.PersonName.to_string/2 options list
Valid :name_order option
Valid :usage option
Types
@type formality() :: :informal | :formal
Valid :formality option
@type format() :: :long | :medium | :short
Valid :format option
@type format_option() :: {:format, format()} | {:backend, module()} | {:name_order, name_order()} | {:usage, usage()} | {:formality, formality()} | {:locale, Cldr.Locale.locale_reference()}
Valid options for Cldr.PersonName.to_string/2
@type format_options() :: [format_option()]
Cldr.PersonName.to_string/2 options list
@type name_order() :: :sorting | :surname_first | :given_first
Valid :name_order option
@type usage() :: :monogram | :referring | :addressing
Valid :usage option