public class DateFormatter extends Object implements ApplicationTool
| Constructor and Description |
|---|
DateFormatter() |
| Modifier and Type | Method and Description |
|---|---|
String |
format(Date theDate)
Formats the given date as a String using the default date format.
|
String |
format(Date theDate,
String dateFormatString)
Formats the given date as a String.
|
void |
init(Object data)
Initialize the application tool.
|
void |
refresh()
Refresh the application tool.
|
public void init(Object data)
init in interface ApplicationTooldata - initialization datapublic void refresh()
refresh in interface ApplicationToolpublic String format(Date theDate)
theDate - date to formatCopyright © 2000–2019 The Apache Software Foundation. All rights reserved.