org.jopendocument.util.convertor
Class DateToTimeConvertor

java.lang.Object
  extended by org.jopendocument.util.convertor.DateToTimeConvertor
All Implemented Interfaces:
ValueConvertor<Date,Time>

public class DateToTimeConvertor
extends Object


Constructor Summary
DateToTimeConvertor()
           
 
Method Summary
 U convert(T o)
           
protected  Time convertNonNull(Date o)
           
 T unconvert(U o)
           
protected  Date unconvertNonNull(Time o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateToTimeConvertor

public DateToTimeConvertor()
Method Detail

convertNonNull

protected Time convertNonNull(Date o)

unconvertNonNull

protected Date unconvertNonNull(Time o)

convert

public final U convert(T o)
Specified by:
convert in interface ValueConvertor<T,U>

unconvert

public final T unconvert(U o)
Specified by:
unconvert in interface ValueConvertor<T,U>


Copyright © 2010 jOpenDocument All Rights Reserved.