public class Strftime extends Object
| Modifier and Type | Field and Description |
|---|---|
protected SimpleDateFormat |
simpleDateFormat |
protected static Properties |
translate |
| Constructor and Description |
|---|
Strftime(String origFormat) |
Strftime(String origFormat,
Locale locale) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
convertDateFormat(String pattern) |
String |
format(Date date) |
TimeZone |
getTimeZone() |
protected String |
quote(String str,
boolean insideQuotes) |
void |
setTimeZone(TimeZone timeZone) |
protected boolean |
translateCommand(StringBuffer buf,
String pattern,
int index,
boolean oldInside) |
protected static Properties translate
protected SimpleDateFormat simpleDateFormat
public Strftime(String origFormat)
public TimeZone getTimeZone()
public void setTimeZone(TimeZone timeZone)
protected boolean translateCommand(StringBuffer buf, String pattern, int index, boolean oldInside)
Copyright © 2016. All Rights Reserved.