SimpleDateFormat that does not make use of ThreadLocal and - broadly - only
creates enough SimpleDateFormat objects to satisfy the concurrency requirements.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final Locale | |
| private final Queue | |
| private final TimeZone |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private SimpleDateFormat | |
| public String | |
| public Date |
| format | back to summary |
|---|---|
| private final String format | |
| locale | back to summary |
|---|---|
| private final Locale locale | |
| queue | back to summary |
|---|---|
| private final Queue<SimpleDateFormat> queue | |
| timezone | back to summary |
|---|---|
| private final TimeZone timezone | |
| ConcurrentDateFormat | back to summary |
|---|---|
| public ConcurrentDateFormat(String format, Locale locale, TimeZone timezone) | |
| createInstance | back to summary |
|---|---|
| private SimpleDateFormat createInstance() | |
| format | back to summary |
|---|---|
| public String format(Date date) | |
| parse | back to summary |
|---|---|
| public Date parse(String source) throws ParseException | |