| Package | Description |
|---|---|
| java.text |
Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages.
|
| Modifier and Type | Method and Description |
|---|---|
abstract StringBuffer |
DateFormat.format(Date
Formats a Date into a date/time string.
|
StringBuffer |
SimpleDateFormat.format(Date
Formats the given
Date into a date/time string and appends the result to the given
StringBuffer.
|
StringBuffer |
ChoiceFormat.format(double number, StringBuffer
Returns pattern with formatted double.
|
abstract StringBuffer |
NumberFormat.format(double number, StringBuffer
Specialization of format.
|
StringBuffer |
DecimalFormat.format(double number, StringBuffer
Formats a double to produce a string.
|
StringBuffer |
ChoiceFormat.format(long number, StringBuffer
Specialization of format.
|
abstract StringBuffer |
NumberFormat.format(long number, StringBuffer
Specialization of format.
|
StringBuffer |
DecimalFormat.format(long number, StringBuffer
Format a long to produce a string.
|
StringBuffer |
MessageFormat.format(Object
Formats an array of objects and appends the
MessageFormat's pattern, with format elements replaced by the formatted objects, to the provided
StringBuffer.
|
StringBuffer |
MessageFormat.format(Object
Formats an array of objects and appends the
MessageFormat's pattern, with format elements replaced by the formatted objects, to the provided
StringBuffer.
|
StringBuffer |
NumberFormat.format(Object
Formats a number and appends the resulting text to the given string buffer.
|
StringBuffer |
DecimalFormat.format(Object
Formats a number and appends the resulting text to the given string buffer.
|
abstract StringBuffer |
Format.format(Object
Formats an object and appends the resulting text to a given string buffer.
|
StringBuffer |
DateFormat.format(Object
Overrides Format.
|