public class DateFormatsImpl extends Object implements DateFormats, Externalizable
Modifier and Type | Field and Description |
---|---|
static ThreadLocal<DateFormats> |
dateFormats
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 ThreadLocal<DateFormats> dateFormats
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public DateFormat get(String identifier)
get
in interface DateFormats
public void set(String identifier, DateFormat calendar)
set
in interface DateFormats
public Date parse(String identifier, String date)
parse
in interface DateFormats
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.