Example:
dt.format("YYYY-MM-DD hh:mm:ss");would generate text of the form
2009-09-09 18:23:59
If months, weekdays, or AM/PM indicators are output as localizable text, you must use {@link #format(String,Locale)}. @param aFormat uses the formatting mini-language defined in the class comment.
|
|
|
|
|
|
|
|
|
|