Format
is an abstract base class for formatting locale-sensitive information such as dates, messages, and numbers.
主要接口:format,parse, Format
defines the programming interface for formatting locale-sensitive objects into String
s (the format
method) and for parsing String
s back into objects (the parseObject
method).
DateFormat
SimpleDateFormat
MessageFormat
NumberFormat
DecimalFormat
ChoiceFormat