org.drools.type
Class DateFormatsImpl
java.lang.Object
org.drools.type.DateFormatsImpl
- All Implemented Interfaces:
- Externalizable, Serializable, DateFormats
public class DateFormatsImpl
- extends Object
- implements DateFormats, Externalizable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dateFormats
public static ThreadLocal<DateFormats> dateFormats
- This is here for any static classes, such as MVEL DataConverters, to access.
It is expected this will be set, before access.
DateFormatsImpl
public DateFormatsImpl()
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
get
public DateFormat get(String identifier)
- Specified by:
get
in interface DateFormats
set
public void set(String identifier,
DateFormat calendar)
- Specified by:
set
in interface DateFormats
parse
public Date parse(String identifier,
String date)
- Specified by:
parse
in interface DateFormats
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.