javax.swing.text
public class DateFormatter extends InternationalFormatter
DateFormatter is an InternationalFormatter
that implements value to string and string to value conversion via
an instance of DateFormat.
| Constructor Summary | |
|---|---|
| DateFormatter()
Creates a new instance using the default DateFormat object
returned by DateFormat#getDateInstance(). | |
| DateFormatter(DateFormat format)
Creates a new instance of DateFormatter using the
specified DateFormat
| |
| Method Summary | |
|---|---|
| void | setFormat(DateFormat format)
Sets the format that is used by this DateFormatter.
|
DateFormatter using the
specified DateFormat
Parameters: format the DateFormat to use
DateFormatter.
Parameters: format the DateFormat to use