public interface TimeFormatter
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(java.util.Calendar calendar)
Format the date to
String representation. |
java.lang.String |
format(java.util.Date date)
Format the date to
String representation. |
java.lang.String format(java.util.Calendar calendar)
String
representation.calendar
- is the calendar to format.null
if the date
is null
.java.lang.String format(java.util.Date date)
String
representation.date
- is the date to format.null
if the date
is null
.