| java.lang.Object org.w3c.util.TimeFormatter
TimeFormatter | public class TimeFormatter (Code) | | This class does date formatting using the same format strings accepted by the
strftime(3) UNIX call. This class has static methods only.
author: Antonio Ramírez |
Method Summary | |
public static String | format(Date date, String format) Format the given date as a string, according to the given
format string.
The format string is of the form used by the strftime(3) UNIX
call.
Parameters: date - The date to format Parameters: format - The formatting string the String with the formatted date. | public static void | main(String[] args) |
format | public static String format(Date date, String format)(Code) | | Format the given date as a string, according to the given
format string.
The format string is of the form used by the strftime(3) UNIX
call.
Parameters: date - The date to format Parameters: format - The formatting string the String with the formatted date. |
main | public static void main(String[] args)(Code) | | For testing purposes
|
|
|