org.apache.commons.convert
Class DateTimeConverters.LongToTimestamp
java.lang.Object
org.apache.commons.convert.AbstractConverter<Long,Timestamp>
org.apache.commons.convert.DateTimeConverters.LongToTimestamp
- All Implemented Interfaces:
- Converter<Long,Timestamp>, ConverterLoader
- Enclosing class:
- DateTimeConverters
public static class DateTimeConverters.LongToTimestamp
- extends AbstractConverter<Long,Timestamp>
An object that converts a Long to a
java.sql.Timestamp.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateTimeConverters.LongToTimestamp
public DateTimeConverters.LongToTimestamp()
convert
public Timestamp convert(Long obj)
throws ConversionException
- Returns
obj converted to a java.sql.Timestamp.
- Parameters:
obj - The source Object to convert
- Returns:
- The converted
Object
- Throws:
ConversionException
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.