com.ibm.btt.base.types.impl
Class DateConverter
java.lang.Object
com.ibm.btt.base.types.AbstractConverter
com.ibm.btt.base.types.impl.BaseConverter<java.util.Date,DateConverter.DateFormatParamBean>
com.ibm.btt.base.types.impl.DateConverter
- All Implemented Interfaces:
- Conversion, TypeConstants, java.io.Externalizable, java.io.Serializable
public class DateConverter
- extends BaseConverter<java.util.Date,DateConverter.DateFormatParamBean>
- See Also:
- Serialized Form
Fields inherited from interface com.ibm.btt.base.types.TypeConstants |
amended, CONV_TYPE_DEFAULT, CONV_TYPE_HOST, CONV_TYPE_HTML, CONV_TYPE_OUTPUT, CONV_TYPE_SER, CONV_TYPE_XML, disabled, hidden, isAmended, isDisabled, isHidden, isMandatory, isOmitted, isReadOnly, mandatory, omitted, readOnly, TYPE_DEFAULT, TYPE_REGISTRY_INIT_SIZE |
Methods inherited from class com.ibm.btt.base.types.impl.BaseConverter |
convertFrom, convertFrom, convertFrom, convertFrom, convertFrom, convertTo, convertTo, convertTo, convertTo, convertTo, format, formatToWriter, formatToWriter, formatToWriter, formatToWriterForType, formatToWriterForType, formatToWriterForType, formatToWriterForType, getImplClass, getParameter, getParameterBean, getTimeZone, readString, unformat, unformat, unformat, unformatFromReader, unformatFromReader, unformatFromReader, unformatFromReader, unformatFromReaderForType, unformatFromReaderForType, unformatFromReaderForType, unformatFromReaderForType, unformatFromString, writeString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateConverter
public DateConverter()
throws DSETypeException
- Throws:
DSETypeException
DateConverter
public DateConverter(java.lang.String[] arg0,
java.util.Hashtable<?,?> arg1)
throws DSETypeException
- Throws:
DSETypeException
format
public java.lang.String format(java.util.Date value,
DateConverter.DateFormatParamBean params,
java.lang.String convType,
java.util.Locale locale,
java.util.TimeZone timezone)
throws DSETypeException
- Overrides:
format
in class BaseConverter<java.util.Date,DateConverter.DateFormatParamBean>
- Throws:
DSETypeException
unformat
public java.util.Date unformat(java.lang.String value,
DateConverter.DateFormatParamBean params,
java.lang.String convType,
java.util.Locale locale,
java.util.TimeZone timezone)
throws DSETypeException
- Overrides:
unformat
in class BaseConverter<java.util.Date,DateConverter.DateFormatParamBean>
- Throws:
DSETypeException
(c) Copyright IBM Corporation 1998, 2011