public class Strftime
extends java.lang.Object
An implementation of the Unix strftime with some glibc extensions.
Constructor and Description |
---|
Strftime() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
format(java.lang.String format,
java.util.Date date,
java.util.Locale locale,
java.util.TimeZone zone)
Format a date string.
|
public static java.lang.String format(java.lang.String format, java.util.Date date, java.util.Locale locale, java.util.TimeZone zone)
Format a date string.
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.