| Modifier and Type | Field and Description |
|---|---|
| protected final SimpleDateFormat | |
| protected static final Properties |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected String | Returns: The modified patternThe pattern to search pattern)Search the provided pattern and get the C standard Date/Time formatting rules and convert them to the Java equivalent. |
| public String | |
| public TimeZone | |
| protected String | |
| public void | |
| protected boolean | Returns: True if new is inside bufferThe buffer buf, String The date/time pattern pattern, int The char index index, boolean Flag value oldInside)Try to get the Java Date/Time formatting associated with the C standard provided. |
| simpleDateFormat | back to summary |
|---|---|
| protected final SimpleDateFormat simpleDateFormat | |
| translate | back to summary |
|---|---|
| protected static final Properties translate | |
| Strftime | back to summary |
|---|---|
| public Strftime(String origFormat, Locale locale) Create an instance of this date formatting class | |
| convertDateFormat | back to summary |
|---|---|
| protected String convertDateFormat(String pattern) Search the provided pattern and get the C standard Date/Time formatting rules and convert them to the Java equivalent. | |
| format | back to summary |
|---|---|
| public String format(Date date) Format the date according to the strftime-style string given in the constructor. | |
| getTimeZone | back to summary |
|---|---|
| public TimeZone getTimeZone() Get the timezone used for formatting conversions
| |
| quote | back to summary |
|---|---|
| protected String quote(String str, boolean insideQuotes) | |
| setTimeZone | back to summary |
|---|---|
| public void setTimeZone(TimeZone timeZone) Change the timezone used to format dates
| |
| translateCommand | back to summary |
|---|---|
| protected boolean translateCommand(StringBuilder buf, String pattern, int index, boolean oldInside) Try to get the Java Date/Time formatting associated with the C standard provided.
| |