public class DateFormatsImpl extends Object implements DateFormats, Externalizable
| Modifier and Type | Field and Description |
|---|---|
static ThreadLocal<DateFormats> |
DATE_FORMATS
This is here for any static classes, such as MVEL DataConverters, to access.
|
| Constructor and Description |
|---|
DateFormatsImpl() |
| Modifier and Type | Method and Description |
|---|---|
DateFormat |
get(String identifier) |
Date |
parse(String identifier,
String date) |
void |
readExternal(ObjectInput in) |
void |
set(String identifier,
DateFormat calendar) |
void |
writeExternal(ObjectOutput out) |
public static final ThreadLocal<DateFormats> DATE_FORMATS
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic DateFormat get(String identifier)
get in interface DateFormatspublic void set(String identifier, DateFormat calendar)
set in interface DateFormatspublic Date parse(String identifier, String date)
parse in interface DateFormatsCopyright © 2001–2015 JBoss by Red Hat. All rights reserved.