The CurrencyFormatter class formats a valid number as a currency value. It adjusts the decimal rounding and precision, the thousands separator, and the negative sign; it also adds a currency symbol. You place the currency symbol on either the left or the right side of the value with the alignSymbol property. The currency symbol can contain multiple characters, including blank spaces.


The CurrencyFormatterAlignSymbol class defines value constants for specifying currency symbol alignment. These values are used in the CurrencyFormatter.alignSymbol property.


The DateBase class contains the localized string information used by the feathers.formatters.DateFormatter class and the parsing function that renders the pattern. This is a helper class for the DateFormatter class that is not usually used independently.


The DateFormatter class uses a format String to return a formatted date and time String from an input String or a Date object. You can create many variations easily, including international formats.


The Formatter class is the base class for all data formatters. Any subclass of Formatter must override the format() method.


This interface specifies the method that a formatter object must implement to allow it to be used as the formatter property for certain UI controls.


The NumberBase class is a utility class that contains general number formatting capabilities, including rounding, precision, thousands formatting, and negative sign formatting. The implementation of the formatter classes use this class.


The NumberBaseRoundType class defines the constant values for formatter properties that specify a type of rounding. For example, you can set the NumberFormatter.rounding property using these constants.


The NumberFormatter class formats a valid number by adjusting the decimal rounding and precision, the thousands separator, and the negative sign.



The PhoneFormatter class formats a valid number into a phone number format, including international configurations.


The SwitchSymbolFormatter class is a utility class that you can use when creating custom formatters. This class performs a substitution by replacing placeholder characters in one String with numbers from a second String.


The ZipCodeFormatter class formats a valid number into one of the following formats, based on a user-supplied formatString property.