org.loom.converter.date
Class DateTimeAdapterFormat

java.lang.Object
  extended by java.text.Format
      extended by org.loom.converter.date.AbstractDateFormatAdapter<org.joda.time.DateTime>
          extended by org.loom.converter.date.DateTimeAdapterFormat
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class DateTimeAdapterFormat
extends AbstractDateFormatAdapter<org.joda.time.DateTime>

Handles Joda LocalDate instances

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.text.Format
java.text.Format.Field
 
Constructor Summary
DateTimeAdapterFormat()
           
 
Method Summary
protected  void formatImpl(org.joda.time.DateTime obj, java.lang.StringBuffer toAppendTo)
           
protected  org.joda.time.DateTime toResultClass(org.joda.time.DateTime dateTime)
           
 
Methods inherited from class org.loom.converter.date.AbstractDateFormatAdapter
format, getFormatter, parseObject, setFormatter
 
Methods inherited from class java.text.Format
clone, format, formatToCharacterIterator, parseObject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateTimeAdapterFormat

public DateTimeAdapterFormat()
Method Detail

formatImpl

protected void formatImpl(org.joda.time.DateTime obj,
                          java.lang.StringBuffer toAppendTo)
Specified by:
formatImpl in class AbstractDateFormatAdapter<org.joda.time.DateTime>

toResultClass

protected org.joda.time.DateTime toResultClass(org.joda.time.DateTime dateTime)
Specified by:
toResultClass in class AbstractDateFormatAdapter<org.joda.time.DateTime>