public class Strftime extends Object
Constructor | Description |
---|---|
Strftime() |
Modifier and Type | Method | Description |
---|---|---|
static String |
format(String format,
Date date,
Locale locale,
TimeZone zone) |
Format a date string.
|
public static String format(String format, Date date, Locale locale, TimeZone zone)
format
- The format in strftime syntax.date
- The date to format.locale
- The locale to use for formatting.zone
- The timezone to use for formatting.