## Uses of Interface
org.springframework.format.Formatter

- Packages that use Formatter
  Package | Description
  --- | ---
  org.springframework.format | An API for defining Formatters to format field model values for display in a UI.
  org.springframework.format.datetime | Formatters for `java.util.Date` properties.
  org.springframework.format.datetime.standard | Integration with the JSR-310 `java.time` package in JDK 8.
  org.springframework.format.number | Formatters for `java.lang.Number` properties.
  org.springframework.format.number.money | Integration with the JSR-354 `javax.money` package.
  org.springframework.format.support | Support classes for the formatting package, providing common implementations as well as adapters.
  org.springframework.validation | Provides data binding and validation functionality, for usage in business and/or UI layers.

- - ### Uses of Formatter in org.springframework.format

    Methods in org.springframework.format with parameters of type Formatter
    Modifier and Type | Method and Description
    --- | ---
    `void` | FormatterRegistry.`addFormatter(Formatter<?> formatter)` Adds a Formatter to format fields of a specific type.
    `void` | FormatterRegistry.`addFormatterForFieldType(Class<?> fieldType, Formatter<?> formatter)` Adds a Formatter to format fields of the given type.

  - ### Uses of Formatter in org.springframework.format.datetime

    Classes in org.springframework.format.datetime that implement Formatter
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DateFormatter` A formatter for `Date` types.

    Methods in org.springframework.format.datetime that return Formatter
    Modifier and Type | Method and Description
    --- | ---
    `protected Formatter<Date>` | DateTimeFormatAnnotationFormatterFactory.`getFormatter(DateTimeFormat annotation, Class<?> fieldType)`

  - ### Uses of Formatter in org.springframework.format.datetime.standard

    Classes in org.springframework.format.datetime.standard that implement Formatter
    Modifier and Type | Class and Description
    --- | ---
    `class` | `InstantFormatter` `Formatter` implementation for a JSR-310 `Instant`, following JSR-310's parsing rules for an Instant (that is, not using a configurable `DateTimeFormatter`): accepting the default `ISO_INSTANT` format as well as `RFC_1123_DATE_TIME` (which is commonly used for HTTP date header values), as of Spring 4.3.

  - ### Uses of Formatter in org.springframework.format.number

    Classes in org.springframework.format.number that implement Formatter
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractNumberFormatter` Abstract formatter for Numbers, providing a `AbstractNumberFormatter.getNumberFormat(java.util.Locale)` template method.
    `class` | `CurrencyStyleFormatter` A BigDecimal formatter for number values in currency style.
    `class` | `NumberStyleFormatter` A general-purpose number formatter using NumberFormat's number style.
    `class` | `PercentStyleFormatter` A formatter for number values in percent style.

  - ### Uses of Formatter in org.springframework.format.number.money

    Classes in org.springframework.format.number.money that implement Formatter
    Modifier and Type | Class and Description
    --- | ---
    `class` | `CurrencyUnitFormatter` Formatter for JSR-354 `CurrencyUnit` values, from and to currency code Strings.
    `class` | `MonetaryAmountFormatter` Formatter for JSR-354 `MonetaryAmount` values, delegating to `MonetaryAmountFormat.format(javax.money.MonetaryAmount)` and `MonetaryAmountFormat.parse(java.lang.CharSequence)`.

  - ### Uses of Formatter in org.springframework.format.support

    Methods in org.springframework.format.support with parameters of type Formatter
    Modifier and Type | Method and Description
    --- | ---
    `void` | FormattingConversionService.`addFormatter(Formatter<?> formatter)`
    `void` | FormattingConversionService.`addFormatterForFieldType(Class<?> fieldType, Formatter<?> formatter)`

    Constructors in org.springframework.format.support with parameters of type Formatter
    Constructor and Description
    `FormatterPropertyEditorAdapter(Formatter<?> formatter)` Create a new `FormatterPropertyEditorAdapter` for the given `Formatter`.

  - ### Uses of Formatter in org.springframework.validation

    Methods in org.springframework.validation with parameters of type Formatter
    Modifier and Type | Method and Description
    --- | ---
    `void` | DataBinder.`addCustomFormatter(Formatter<?> formatter)` Add a custom formatter, applying it to all fields matching the `Formatter`-declared type.
    `void` | DataBinder.`addCustomFormatter(Formatter<?> formatter, Class<?>... fieldTypes)` Add a custom formatter, applying it to the specified field types only, if any, or otherwise to all fields matching the `Formatter`-declared type.
    `void` | DataBinder.`addCustomFormatter(Formatter<?> formatter, String... fields)` Add a custom formatter for the field type specified in `Formatter` class, applying it to the specified fields only, if any, or otherwise to all fields.