de.intarsys.tools.converter
Class DateFromNumberConverter
java.lang.Object
de.intarsys.tools.converter.DateFromNumberConverter
- All Implemented Interfaces:
- IConverter<Number,Date>
public class DateFromNumberConverter
- extends Object
- implements IConverter<Number,Date>
Convert a Number to Date
DateFromNumberConverter
public DateFromNumberConverter()
convert
public Date convert(Number source)
throws ConversionException
- Description copied from interface:
IConverter
- Convert the actual source object.
- Specified by:
convert in interface IConverter<Number,Date>
- Returns:
- The converted object.
- Throws:
ConversionException
getSourceType
public Class<?> getSourceType()
- Description copied from interface:
IConverter
- The source type the converter supports.
- Specified by:
getSourceType in interface IConverter<Number,Date>
- Returns:
- The source type the converter supports.
getTargetType
public Class<?> getTargetType()
- Description copied from interface:
IConverter
- The target type the converter supports.
- Specified by:
getTargetType in interface IConverter<Number,Date>
- Returns:
- The target type the converter supports.
Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.