org.springframework.format.datetime.joda
Class JodaTimeConverters.DateTimeToMutableDateTimeConverter

java.lang.Object
  extended by org.springframework.format.datetime.joda.JodaTimeConverters.DateTimeToMutableDateTimeConverter
All Implemented Interfaces:
Converter<DateTime,MutableDateTime>
Enclosing class:
JodaTimeConverters

private static class JodaTimeConverters.DateTimeToMutableDateTimeConverter
extends java.lang.Object
implements Converter<DateTime,MutableDateTime>

Used when binding a parsed DateTime to a MutableDateTime field.

See Also:
DateTimeParser

Constructor Summary
private JodaTimeConverters.DateTimeToMutableDateTimeConverter()
           
 
Method Summary
 MutableDateTime convert(DateTime source)
          Convert the source of type S to target type T.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JodaTimeConverters.DateTimeToMutableDateTimeConverter

private JodaTimeConverters.DateTimeToMutableDateTimeConverter()
Method Detail

convert

public MutableDateTime convert(DateTime source)
Description copied from interface: Converter
Convert the source of type S to target type T.

Specified by:
convert in interface Converter<DateTime,MutableDateTime>
Parameters:
source - the source object to convert, which must be an instance of S
Returns:
the converted object, which must be an instance of T